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

Unified Diff: test/mjsunit/asm/math-clz32.js

Issue 2663243002: [asm] Fix lots of invalid asm.js tests (Closed)
Patch Set: Rebase Created 3 years, 10 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/asm/math-ceil.js ('k') | test/mjsunit/asm/math-floor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/math-clz32.js
diff --git a/test/mjsunit/asm/math-clz32.js b/test/mjsunit/asm/math-clz32.js
index 42dcf465758d6e270252f6fba6b834855bf37a88..54a42389e45c2a964533b98ecc89a458cd93d6a0 100644
--- a/test/mjsunit/asm/math-clz32.js
+++ b/test/mjsunit/asm/math-clz32.js
@@ -10,8 +10,8 @@ var f = (function Module(stdlib) {
var clz32 = stdlib.Math.clz32;
function f(a) {
- a = a >>> 0;
- return clz32(a)|0;
+ a = a | 0;
+ return clz32(a >>> 0) | 0;
}
return f;
« no previous file with comments | « test/mjsunit/asm/math-ceil.js ('k') | test/mjsunit/asm/math-floor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698