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

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

Issue 2421193002: [turbofan] Add missing Float32 -> TaggedSigned conversion. (Closed)
Patch Set: Created 4 years, 2 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/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-656275.js
diff --git a/test/mjsunit/compiler/regress-644048.js b/test/mjsunit/regress/regress-crbug-656275.js
similarity index 76%
copy from test/mjsunit/compiler/regress-644048.js
copy to test/mjsunit/regress/regress-crbug-656275.js
index ee2dd6edef4792a5777f77ba9fcc1eff12d87a07..74b29c14586a6b20f83993ea16488722b27efd46 100644
--- a/test/mjsunit/compiler/regress-644048.js
+++ b/test/mjsunit/regress/regress-crbug-656275.js
@@ -4,13 +4,11 @@
// Flags: --allow-natives-syntax
-function foo(x) {
- (x
- ? (!0 / 0)
- : x) | 0
-}
+var a = 1;
+function foo(x) { a = Math.fround(x + 1); }
+
+foo(1);
foo(1);
-foo(2);
%OptimizeFunctionOnNextCall(foo);
-foo(3);
+foo(1.3);
« no previous file with comments | « src/compiler/representation-change.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698