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

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

Issue 932603002: [turbofan] Clear pending exception from unsuccessful compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/compiler.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/regress-458987.js
diff --git a/test/mjsunit/regress-keyed-store-non-strict-arguments.js b/test/mjsunit/regress/regress-458987.js
similarity index 56%
copy from test/mjsunit/regress-keyed-store-non-strict-arguments.js
copy to test/mjsunit/regress/regress-458987.js
index 865d600ad90f1b9c6915659d242e2122ba407008..f7a7edcef4e63c450182867b8acc049b42c42905 100644
--- a/test/mjsunit/regress-keyed-store-non-strict-arguments.js
+++ b/test/mjsunit/regress/regress-458987.js
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function args(arg) { return arguments; }
-var a = args(false);
-
(function () {
- "use strict";
- a["const" + 0] = 0;
-})();
+ "use asm";
-(function () {
- "use strict";
- a[0] = 0;
+ function g() {}
+
+ runNearStackLimit(g);
})();
+
+function runNearStackLimit(f) {
+ function g() { try { g(); } catch(e) { f(); } };
+ g();
+}
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698