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

Unified Diff: test/mjsunit/wasm/asm-wasm-i32.js

Issue 1839333002: [wasm] Fix asm.js semantics for divide by zero in WASM translation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Small code simplifications. Created 4 years, 9 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/cctest/wasm/test-run-wasm.cc ('k') | test/mjsunit/wasm/asm-wasm-u32.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm-i32.js
diff --git a/test/mjsunit/wasm/asm-wasm-i32.js b/test/mjsunit/wasm/asm-wasm-i32.js
index 5e13c72b80494192541001483af7047941430830..1b4d3a978c41749674d358cdcf5ce3468a519c6e 100644
--- a/test/mjsunit/wasm/asm-wasm-i32.js
+++ b/test/mjsunit/wasm/asm-wasm-i32.js
@@ -213,9 +213,8 @@ var funcs = [
i32_add,
i32_sub,
i32_mul,
- // TODO(titzer): i32_mul requires Math.imul
- // TODO(titzer): i32_div divide by zero is incorrect
- // TODO(titzer): i32_mod by zero is incorrect
+ i32_div,
+ i32_mod,
i32_and,
i32_or,
i32_xor,
« no previous file with comments | « test/cctest/wasm/test-run-wasm.cc ('k') | test/mjsunit/wasm/asm-wasm-u32.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698