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

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

Issue 1895123002: Prevent un-parsed LiteralFunction reaching the compiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test. (eager_compile_hint used function_state_ of parent function.) Created 4 years, 8 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 | « src/parsing/preparser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress-604044.js
diff --git a/test/message/regress/regress-4829-1.js b/test/mjsunit/regress-604044.js
similarity index 71%
copy from test/message/regress/regress-4829-1.js
copy to test/mjsunit/regress-604044.js
index 1ad5feda8cb96cd24e4c47f7407c9699d150c327..58ccfbed99181d1c19df7c169259e9d5e7831547 100644
--- a/test/message/regress/regress-4829-1.js
+++ b/test/mjsunit/regress-604044.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function tag() {}
+// Flags: --min-preparse-length 1
-tag(tag`\xyy`);
+(function(_ = function() {}){})
« no previous file with comments | « src/parsing/preparser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698