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

Unified Diff: test/mjsunit/compiler/regress-445876.js

Issue 830293003: Make control reducer revisit newly introduced merges. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tweaks Created 5 years, 11 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/control-reducer.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-445876.js
diff --git a/test/mjsunit/compiler/regress-ntl-effect.js b/test/mjsunit/compiler/regress-445876.js
similarity index 66%
copy from test/mjsunit/compiler/regress-ntl-effect.js
copy to test/mjsunit/compiler/regress-445876.js
index 708fe32828c9197dfa3d8c371ab01cbc1ad3317a..30e10e56c3ac424fb8843b700bec2af5ded334ac 100644
--- a/test/mjsunit/compiler/regress-ntl-effect.js
+++ b/test/mjsunit/compiler/regress-445876.js
@@ -4,13 +4,9 @@
// Flags: --allow-natives-syntax
-function g() {
- throw 0;
+function f(x) {
+ while (1) { s++; }
+ while (x) { s++; }
}
-function f() {
- g();
- while (1) {}
-}
-
-assertThrows(function () { f(); });
+assertThrows(function () { f(1); });
« no previous file with comments | « src/compiler/control-reducer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698