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

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

Issue 2562003002: [wasm] Remove obsolete %IsNotAsmWasmCode predicate. (Closed)
Patch Set: Created 4 years 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/wasm/asm-wasm.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm-stdlib.js
diff --git a/test/mjsunit/wasm/asm-wasm-stdlib.js b/test/mjsunit/wasm/asm-wasm-stdlib.js
index 05e1ca509c4c5d1cb33ad36e80656c9db98a91bb..6dbb5afd3e85d409961b3ebdefe837c77998cc39 100644
--- a/test/mjsunit/wasm/asm-wasm-stdlib.js
+++ b/test/mjsunit/wasm/asm-wasm-stdlib.js
@@ -102,7 +102,7 @@ var stdlib_math_members = [
var code = Module.toString().replace('NaN', member);
var decl = eval('(' + code + ')');
decl(stdlib);
- assertTrue(%IsNotAsmWasmCode(decl));
+ assertFalse(%IsAsmWasmCode(decl));
}
for (var i = 0; i < stdlib_math_members.length; ++i) {
var member = stdlib_math_members[i];
@@ -112,7 +112,7 @@ var stdlib_math_members = [
var code = Module.toString().replace('NaN', 'Math.' + member);
var decl = eval('(' + code + ')');
decl(stdlib);
- assertTrue(%IsNotAsmWasmCode(decl));
+ assertFalse(%IsAsmWasmCode(decl));
}
})();
@@ -128,7 +128,7 @@ var stdlib_math_members = [
var code = Module.toString().replace('NaN', member);
var decl = eval('(' + code + ')');
decl({});
- assertTrue(%IsNotAsmWasmCode(decl));
+ assertFalse(%IsAsmWasmCode(decl));
}
for (var i = 0; i < stdlib_math_members.length; ++i) {
var member = stdlib_math_members[i];
@@ -136,7 +136,7 @@ var stdlib_math_members = [
var decl = eval('(' + code + ')');
assertThrows(function() {
decl({});
- assertTrue(%IsNotAsmWasmCode(decl));
+ assertFalse(%IsAsmWasmCode(decl));
});
}
})();
« no previous file with comments | « test/mjsunit/wasm/asm-wasm.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698