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

Unified Diff: test/mjsunit/compiler/regress-dead-throw-inlining.js

Issue 1675433003: [turbofan] Reducers should revisit end after merging to it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/pipeline.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/regress-dead-throw-inlining.js
diff --git a/test/mjsunit/regress/regress-crbug-577112.js b/test/mjsunit/compiler/regress-dead-throw-inlining.js
similarity index 68%
copy from test/mjsunit/regress/regress-crbug-577112.js
copy to test/mjsunit/compiler/regress-dead-throw-inlining.js
index 504f921a335801a51fd1c0c1a39a8b08e8872722..097a20bc41d34760931928c45e4117888295f20a 100644
--- a/test/mjsunit/regress/regress-crbug-577112.js
+++ b/test/mjsunit/compiler/regress-dead-throw-inlining.js
@@ -4,11 +4,9 @@
// Flags: --allow-natives-syntax
-Array.prototype.__proto__ = null;
-var prototype = Array.prototype;
-function f() {
- prototype.lastIndexOf({});
-}
+function g() { if (false) throw 0; }
+function f() { g(); }
+
f();
f();
%OptimizeFunctionOnNextCall(f);
« no previous file with comments | « src/compiler/pipeline.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698