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

Unified Diff: test/mjsunit/harmony/regress/regress-624300.js

Issue 2135503002: Narrowly address async function stack overflow parsing case (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/regress/regress-624300.js
diff --git a/test/mjsunit/regress/regress-crbug-600257.js b/test/mjsunit/harmony/regress/regress-624300.js
similarity index 69%
copy from test/mjsunit/regress/regress-crbug-600257.js
copy to test/mjsunit/harmony/regress/regress-624300.js
index 87bd2e39af387cde81f9c9adb15756f8139a03a3..f96fbbb5aaa1a22d4603e0c103372d1333af8f1a 100644
--- a/test/mjsunit/regress/regress-crbug-600257.js
+++ b/test/mjsunit/harmony/regress/regress-624300.js
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stack-size=100
+// Flags: --harmony-async-await
-(function rec() {
+(function f() {
try {
- rec();
+ f();
} catch (e) {
- /{/;
+ (async() => await 1).length;
}
})();
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698