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

Unified Diff: test/mjsunit/regress/regress-crbug-546968.js

Issue 1430483002: [turbofan] Fix OSR-ed callee trigged ty do-expressions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« src/compiler/ast-graph-builder.cc ('K') | « src/compiler/ast-graph-builder.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-crbug-546968.js
diff --git a/test/mjsunit/regress/regress-crbug-501711.js b/test/mjsunit/regress/regress-crbug-546968.js
similarity index 57%
copy from test/mjsunit/regress/regress-crbug-501711.js
copy to test/mjsunit/regress/regress-crbug-546968.js
index b253e9c9122e6ef4a8cecb6a2f61e55ee7cbd84f..51f20c4204d735cdaf69a81e71b0392766e3b476 100644
--- a/test/mjsunit/regress/regress-crbug-501711.js
+++ b/test/mjsunit/regress/regress-crbug-546968.js
@@ -2,17 +2,13 @@
// 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: --allow-natives-syntax --harmony-do-expressions
function f() {
- try {
- f();
- } catch(e) {
- try {
- Realm.create();
- } catch (e) {
- quit();
+ print(
+ do {
+ for (var i = 0; i < 10; i++) { if (i == 5) %OptimizeOsr(); }
}
- }
+ );
}
f();
« src/compiler/ast-graph-builder.cc ('K') | « src/compiler/ast-graph-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698