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

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

Issue 2080703003: [turbofan] MemoryOptimizer cannot deal with dead nodes in use lists. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/regress/regress-crbug-614292.js
diff --git a/test/mjsunit/regress/regress-5006.js b/test/mjsunit/regress/regress-crbug-614292.js
similarity index 72%
copy from test/mjsunit/regress/regress-5006.js
copy to test/mjsunit/regress/regress-crbug-614292.js
index 29f145de0ac38c971c0c9174a83ea0cee285bb18..3a67c17f6010b3bf60a8b7c9aa019ff369ddfadf 100644
--- a/test/mjsunit/regress/regress-5006.js
+++ b/test/mjsunit/regress/regress-crbug-614292.js
@@ -4,8 +4,11 @@
// Flags: --allow-natives-syntax
-function foo(x) { return Math.imul(x|0, 2); }
-print(foo(1));
-print(foo(1));
+function foo() {
+ return [] | 0 && values[0] || false;
+}
+
%OptimizeFunctionOnNextCall(foo);
-print(foo(1));
+try {
+ foo();
+} catch (e) {}
« 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