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

Unified Diff: test/mjsunit/div-mul-minus-one.js

Issue 104003004: Avoid FP exceptions when doing integer division. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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/hydrogen-instructions.cc ('k') | test/mjsunit/regress/regress-3039.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/div-mul-minus-one.js
diff --git a/test/mjsunit/div-mul-minus-one.js b/test/mjsunit/div-mul-minus-one.js
index f05bf0f54c68faf8f5e5cb5f35d7a8dcbc3fb02f..5ade61492da85077e7cdb29075e79a1f69c2930f 100644
--- a/test/mjsunit/div-mul-minus-one.js
+++ b/test/mjsunit/div-mul-minus-one.js
@@ -36,9 +36,7 @@ var expected_MinInt = div(kMinInt);
var expected_minus_zero = div(0);
%OptimizeFunctionOnNextCall(div);
assertEquals(expected_MinInt, div(kMinInt));
-assertOptimized(div);
assertEquals(expected_minus_zero , div(0));
-assertOptimized(div);
function mul(g) {
return (g * -1) ^ 1
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | test/mjsunit/regress/regress-3039.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698