Index: test/mjsunit/constant-folding.js |
diff --git a/test/mjsunit/constant-folding.js b/test/mjsunit/constant-folding.js |
index 4deb43cd3ae5f5f5815abfc766ada0e6d07c8d44..148928aaaf97e4ed99d0056007e2ca09701bcde7 100644 |
--- a/test/mjsunit/constant-folding.js |
+++ b/test/mjsunit/constant-folding.js |
@@ -29,6 +29,8 @@ |
// The code generator now handles compile-time constants specially. |
// Test the code generated when operands are known at compile time |
+// Flags: --legacy-const |
+ |
// Test count operations involving constants |
function test_count() { |
var x = "foo"; |