Index: test/mjsunit/constant-folding.js |
diff --git a/test/mjsunit/constant-folding.js b/test/mjsunit/constant-folding.js |
index 148928aaaf97e4ed99d0056007e2ca09701bcde7..d6ac9fe3d5af55569386168dab17c6a0d5ec2134 100644 |
--- a/test/mjsunit/constant-folding.js |
+++ b/test/mjsunit/constant-folding.js |
@@ -29,8 +29,6 @@ |
// 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"; |
@@ -69,11 +67,6 @@ function test_count() { |
z = y; |
y++; |
assertEquals(z, 20); |
- |
- const w = 30; |
- assertEquals(w++, 30); |
- assertEquals(++w, 31); |
- assertEquals(++w, 31); |
} |
test_count(); |