Index: test/cctest/interpreter/test-bytecode-generator.cc |
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc |
index f2763558afa054f2fd384d24e6a8a4a8c1e1b8c9..5f887f0710008a50e49e811a7848001d534e215b 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -29,6 +29,7 @@ class BytecodeGeneratorHelper { |
i::FLAG_ignition_filter = StrDup(kFunctionName); |
i::FLAG_always_opt = false; |
i::FLAG_allow_natives_syntax = true; |
+ i::FLAG_legacy_const = true; |
CcTest::i_isolate()->interpreter()->Initialize(); |
} |