Index: test/cctest/compiler/test-run-jsops.cc |
diff --git a/test/cctest/compiler/test-run-jsops.cc b/test/cctest/compiler/test-run-jsops.cc |
index d3f32d93be7a43ac59ca5f0f5f7dc21cf22c0457..9a2c4679a0ac2366d5e8fe786bebc87ebb92b4b9 100644 |
--- a/test/cctest/compiler/test-run-jsops.cc |
+++ b/test/cctest/compiler/test-run-jsops.cc |
@@ -395,6 +395,7 @@ TEST(GlobalLoad) { |
TEST(GlobalStoreSloppy) { |
+ FLAG_legacy_const = true; |
FunctionTester T("(function(a,b) { g = a + b; return g; })"); |
T.CheckCall(T.Val(33), T.Val(22), T.Val(11)); |