Skip to content

Commit 7f53f5b

Browse files
mdkometa-codesync[bot]
authored andcommitted
Check for packedptr when producing output of --version
Summary: Would like to see this when running `hhvm --version` Reviewed By: WizKid Differential Revision: D86909805 fbshipit-source-id: 382a2c9c2e7d5c706885060c6217d3691247d50b
1 parent a1cae21 commit 7f53f5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hphp/runtime/base/program-functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ static int execute_program_impl(int argc, char** argv) {
17641764
cout << "HipHop VM";
17651765
cout << " " << HHVM_VERSION;
17661766
cout << " (" << (debug ? "dbg" : "rel") << ")";
1767-
cout << " (" << (use_lowptr ? "lowptr" : "non-lowptr") << ")\n";
1767+
cout << " (" << (use_packedptr ? "packedptr" : use_lowptr ? "lowptr" : "non-lowptr") << ")\n";
17681768
cout << "Compiler: " << compilerId() << "\n";
17691769
cout << "Repo schema: " << repoSchemaId() << "\n";
17701770
return 0;

0 commit comments

Comments
 (0)