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

Unified Diff: test/mjsunit/regress/regress-592353.js

Issue 1804783002: Remove Scope::scope_contains_with_ bit (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix scope names and GCC build 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/debug-scopes.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-592353.js
diff --git a/test/mjsunit/regress/regress-572589.js b/test/mjsunit/regress/regress-592353.js
similarity index 80%
copy from test/mjsunit/regress/regress-572589.js
copy to test/mjsunit/regress/regress-592353.js
index 1fd755ad1e8d928c0f6f7cab00d274a4c40e5368..f4e3b6859a48bbc01785857c698d831ae8a87167 100644
--- a/test/mjsunit/regress/regress-572589.js
+++ b/test/mjsunit/regress/regress-592353.js
@@ -4,8 +4,7 @@
//
// Flags: --allow-natives-syntax --no-lazy
-"use strict";
-eval();
-var f = ({x}) => { };
+with ({}) {}
+f = ({x}) => { };
%OptimizeFunctionOnNextCall(f);
-assertThrows(f);
+f({});
« no previous file with comments | « test/mjsunit/debug-scopes.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698