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

Unified Diff: test/mjsunit/asm/do-while-false.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/do-while.js ('k') | test/mjsunit/asm/float32array-negative-offset.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/do-while-false.js
diff --git a/test/mjsunit/asm/do-while-false.js b/test/mjsunit/asm/do-while-false.js
index ba906a0ab395dceb42c485b02900374ec86c3e44..e4cf375b0127676e8c83295c01a00a835ccd4fbb 100644
--- a/test/mjsunit/asm/do-while-false.js
+++ b/test/mjsunit/asm/do-while-false.js
@@ -41,11 +41,11 @@ function Module() {
function d6(a) {
a = a | 0;
do {
- if (a == 0) return 120;
- if (a == 1) break;
- if (a == 2) return 122;
- if (a == 3) continue;
- if (a == 4) return 124;
+ if ((a | 0) == 0) return 120;
+ if ((a | 0) == 1) break;
+ if ((a | 0) == 2) return 122;
+ if ((a | 0) == 3) continue;
+ if ((a | 0) == 4) return 124;
} while(false);
return 125;
}
« no previous file with comments | « test/mjsunit/asm/do-while.js ('k') | test/mjsunit/asm/float32array-negative-offset.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698