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

Unified Diff: test/mjsunit/compiler/deopt-numberoroddball-binop.js

Issue 2923543003: [turbofan] Properly support Number feedback for binary operators. (Closed)
Patch Set: Improve DCHECK. Created 3 years, 6 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/type-hints.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/deopt-numberoroddball-binop.js
diff --git a/test/mjsunit/compiler/deopt-numberoroddball-binop.js b/test/mjsunit/compiler/deopt-numberoroddball-binop.js
index 2c6473d15f7501529657bc14462c5da9b8df1cb0..6f19d45bb86a599c35e1a002c312e386945a8930 100644
--- a/test/mjsunit/compiler/deopt-numberoroddball-binop.js
+++ b/test/mjsunit/compiler/deopt-numberoroddball-binop.js
@@ -9,6 +9,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
@@ -33,6 +34,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
@@ -57,6 +59,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
@@ -81,6 +84,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
@@ -105,6 +109,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
@@ -129,6 +134,7 @@
foo(1.1, 0.1);
foo(0.1, 1.1);
+ foo(true, false);
%OptimizeFunctionOnNextCall(foo);
foo(undefined, 1.1);
assertOptimized(foo);
« no previous file with comments | « src/type-hints.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698