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)); |
}); |
} |
})(); |