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

Unified Diff: test/mjsunit/harmony/block-let-crankshaft-sloppy.js

Issue 1219853004: [es6] Initial support for let/const bindings in sloppy mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated tests and comments Created 5 years, 5 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
Index: test/mjsunit/harmony/block-let-crankshaft-sloppy.js
diff --git a/test/mjsunit/es6/block-let-crankshaft.js b/test/mjsunit/harmony/block-let-crankshaft-sloppy.js
similarity index 99%
copy from test/mjsunit/es6/block-let-crankshaft.js
copy to test/mjsunit/harmony/block-let-crankshaft-sloppy.js
index 9cfdf847fcccf50aa54bdab3b6d590401c8ec0ed..ed8c815f3b8468d3736695c7138219bb77469d26 100644
--- a/test/mjsunit/es6/block-let-crankshaft.js
+++ b/test/mjsunit/harmony/block-let-crankshaft-sloppy.js
@@ -26,8 +26,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --allow-natives-syntax
-
-"use strict";
+// Flags: --no-legacy-const --harmony-sloppy
// Check that the following functions are optimizable.
var functions = [ f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14,

Powered by Google App Engine
This is Rietveld 408576698