Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1411)

Unified Diff: test/mjsunit/constant-folding.js

Issue 1819123002: Remove support for legacy const, part 1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased, deleted one more file Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/const-redecl.js ('k') | test/mjsunit/debug-evaluate-const.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « test/mjsunit/const-redecl.js ('k') | test/mjsunit/debug-evaluate-const.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698