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

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

Issue 2155323003: [turbofan] Properly handle bit->float64 representation changes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Uncement 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 | « test/cctest/compiler/test-representation-change.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-629062.js
diff --git a/test/mjsunit/regress/regress-5085.js b/test/mjsunit/regress/regress-crbug-629062.js
similarity index 73%
copy from test/mjsunit/regress/regress-5085.js
copy to test/mjsunit/regress/regress-crbug-629062.js
index 0ed034dc2d09e97827e2b4881570d60be2b5072b..228ae6d2d5012e8d00b19fe5093ed54f7de4ded9 100644
--- a/test/mjsunit/regress/regress-5085.js
+++ b/test/mjsunit/regress/regress-crbug-629062.js
@@ -5,10 +5,10 @@
// Flags: --allow-natives-syntax
function foo(x) {
- return x instanceof Proxy;
+ return 1 + ((1 == 0) && undefined);
}
-assertFalse(foo({}));
-assertFalse(foo({}));
+foo(false);
+foo(false);
%OptimizeFunctionOnNextCall(foo);
-assertFalse(foo({}));
+foo(true);
« no previous file with comments | « test/cctest/compiler/test-representation-change.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698