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

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

Issue 2120243002: [turbofan] Better handling of empty type in simplified lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Disable slow test 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') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/regress-625558.js
diff --git a/test/mjsunit/regress/regress-opt-typeof-null.js b/test/mjsunit/compiler/regress-625558.js
similarity index 68%
copy from test/mjsunit/regress/regress-opt-typeof-null.js
copy to test/mjsunit/compiler/regress-625558.js
index e4721a18c5e0fb95a3b7cb323f229de9f605b64a..5d6b372632abd0adbeffe24f31e2abe60e9acbff 100644
--- a/test/mjsunit/regress/regress-opt-typeof-null.js
+++ b/test/mjsunit/compiler/regress-625558.js
@@ -4,9 +4,11 @@
// Flags: --allow-natives-syntax
+for (var global = 0; global <= 256; global++) { }
+
function f() {
- return typeof null === "object";
-};
+ global = "luft";
+ global += ++global;
+}
-%OptimizeFunctionOnNextCall(f);
-assertTrue(f());
+f();
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698