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

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

Issue 1571873004: Ship ES2015 sloppy-mode const semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Associate with --harmony-shipping Created 4 years, 11 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 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";
« 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