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

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

Issue 2151223002: [turbofan] Add re-typing for PlainPrimitiveToNumber during representation inference. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/simplified-lowering.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-628516.js
diff --git a/test/mjsunit/ignition/dead-code-source-position.js b/test/mjsunit/compiler/regress-628516.js
similarity index 66%
copy from test/mjsunit/ignition/dead-code-source-position.js
copy to test/mjsunit/compiler/regress-628516.js
index 95bb9183b880229a703e58503e9aec2a673015aa..8cb43b4bea2cdbba9b4fe3400a70f66e02521e1f 100644
--- a/test/mjsunit/ignition/dead-code-source-position.js
+++ b/test/mjsunit/compiler/regress-628516.js
@@ -3,7 +3,11 @@
// found in the LICENSE file.
function f() {
- for (f(x) in []) { f(new f()) }
+ var i = 0;
+ while (1) {
+ if ({}) i = expected[0] == x[0];
+ i++;
+ }
}
-f();
+assertThrows(f);
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698