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

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

Issue 2182453002: [turbofan] Avoid introducing machine operators during typed lowering. (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/js-typed-lowering.cc ('k') | test/unittests/compiler/js-intrinsic-lowering-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-630951.js
diff --git a/test/mjsunit/regress/regress-crbug-614292.js b/test/mjsunit/regress/regress-crbug-630951.js
similarity index 67%
copy from test/mjsunit/regress/regress-crbug-614292.js
copy to test/mjsunit/regress/regress-crbug-630951.js
index 3a67c17f6010b3bf60a8b7c9aa019ff369ddfadf..58af024d3ac2b5fe8cbe320d27e341055c8c9e0a 100644
--- a/test/mjsunit/regress/regress-crbug-614292.js
+++ b/test/mjsunit/regress/regress-crbug-630951.js
@@ -5,10 +5,8 @@
// Flags: --allow-natives-syntax
function foo() {
- return [] | 0 && values[0] || false;
+ "use asm";
+ var o = new Int32Array(64 * 1024);
+ return () => { o[i1 >> 2] | 0; }
}
-
-%OptimizeFunctionOnNextCall(foo);
-try {
- foo();
-} catch (e) {}
+assertThrows(foo());
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | test/unittests/compiler/js-intrinsic-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698