Skip to content

Commit

Permalink
Pass CompilationMode in hdb
Browse files Browse the repository at this point in the history
Summary:
The DebugFlags were unused, but the actual flags to hdb haven't actually
been updated to be passed correctly, so `--lazy` and `--eager` weren't
actually doing anything.

SH Diff: D58090502

Reviewed By: tmikov

Differential Revision: D58142101

fbshipit-source-id: 295f59382a71937ef8dd00ca248e67c8c53f3721
  • Loading branch information
avp authored and facebook-github-bot committed Jun 4, 2024
1 parent 6284018 commit 40e28b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/hdb/hdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ int main(int argc, char **argv) {
std::istreambuf_iterator<char>());

hermes::vm::RuntimeConfig::Builder optsBuilder;
optsBuilder.withCompilationMode(options.compilationMode);
if (options.enableBlockScoping) {
optsBuilder.withEnableBlockScoping(*options.enableBlockScoping);
}
Expand Down

0 comments on commit 40e28b0

Please sign in to comment.