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

Unified Diff: test/mjsunit/math-abs.js

Issue 22715004: Version 3.20.15 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add TypedArray API and correctness patches r16033 and r16084 Created 7 years, 4 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/mjsunit/harmony/object-observe.js ('k') | test/mjsunit/regress/regress-264203.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/math-abs.js
diff --git a/test/mjsunit/math-abs.js b/test/mjsunit/math-abs.js
index d6ee3f2da7853f071559cbb32911dcde3a81f506..2b079546ea449cd0e0cec490b2f8d6338e41e176 100644
--- a/test/mjsunit/math-abs.js
+++ b/test/mjsunit/math-abs.js
@@ -109,14 +109,3 @@ for(var i = 0; i < 1000; i++) {
assertEquals(42, foo(-42));
%OptimizeFunctionOnNextCall(foo)
assertEquals(42, foo(-42));
-
-// Regression test for SMI input of Math.abs on X64, see:
-// https://codereview.chromium.org/21180004/
-var a = [-1, -2];
-function foo2() {
- return Math.abs(a[0]);
-}
-assertEquals(1, foo2());
-assertEquals(1, foo2());
-%OptimizeFunctionOnNextCall(foo2);
-assertEquals(1, foo2());
« no previous file with comments | « test/mjsunit/harmony/object-observe.js ('k') | test/mjsunit/regress/regress-264203.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698