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

Unified Diff: test/mjsunit/compiler/regress-ntl-effect.js

Issue 830923002: Do not reduce effect phis of loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added a comment Created 5 years, 12 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-ntl-effect.js
diff --git a/test/mjsunit/regress/regress-crbug-387636.js b/test/mjsunit/compiler/regress-ntl-effect.js
similarity index 51%
copy from test/mjsunit/regress/regress-crbug-387636.js
copy to test/mjsunit/compiler/regress-ntl-effect.js
index 1e50ace45a293c8561042f1a09c8fcd505b43dc2..708fe32828c9197dfa3d8c371ab01cbc1ad3317a 100644
--- a/test/mjsunit/regress/regress-crbug-387636.js
+++ b/test/mjsunit/compiler/regress-ntl-effect.js
@@ -1,14 +1,16 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
+// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
+function g() {
+ throw 0;
+}
+
function f() {
- [].indexOf(0x40000000);
+ g();
+ while (1) {}
}
-f();
-f();
-%OptimizeFunctionOnNextCall(f);
-f();
+assertThrows(function () { f(); });
« 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