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

Unified Diff: test/mjsunit/asm/asm-validation.js

Issue 2771183002: [wasm][asm.js] Fix and enable several asm.js tests with the new parser. (Closed)
Patch Set: fix one more item Created 3 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 | « src/wasm/wasm-module-builder.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/asm-validation.js
diff --git a/test/mjsunit/asm/asm-validation.js b/test/mjsunit/asm/asm-validation.js
index 5f5ddcfcfc72d770c2bfa45b0dc3b8e234e082a4..0925d103ea9c391ff6cb8e8f018a1742cef616fa 100644
--- a/test/mjsunit/asm/asm-validation.js
+++ b/test/mjsunit/asm/asm-validation.js
@@ -339,23 +339,6 @@ function assertValidAsm(func) {
assertFalse(%IsAsmWasmCode(Module));
})();
-(function TestBadishBooleanExprAnnotation() {
- function Module() {
- "use asm";
- function foo(x) {
- x = x | 0;
- x = (x + 1) | false;
- return x | 0;
- }
- return { foo: foo };
- }
- var m = Module();
- // We all false here because the parser optimizes expressons like:
- // !123 to false.
- assertTrue(%IsAsmWasmCode(Module));
- assertEquals(4, m.foo(3));
-})();
-
(function TestBadFroundTrue() {
function Module(stdlib) {
"use asm";
« no previous file with comments | « src/wasm/wasm-module-builder.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698