Commit 4d7e7acd authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

Fix test to not teach ClusterFuzz ugly tricks.

R=bradnelson@chromium.org
TEST=mjsunit/wasm/asm-with-wasm-off
BUG=chromium:696655

Change-Id: I9375d8ac2f111009233dc480529fd0f0e00fe811
Reviewed-on: https://chromium-review.googlesource.com/447398Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43472}
parent 931e18d5
......@@ -443,7 +443,7 @@ function assertValidAsm(func) {
return foo;
}
Module();
assertFalse(% IsAsmWasmCode(Module));
assertFalse(%IsAsmWasmCode(Module));
})();
(function TestBadIntConditionalReturn() {
......@@ -458,7 +458,7 @@ function assertValidAsm(func) {
return foo;
}
Module();
assertFalse(% IsAsmWasmCode(Module));
assertFalse(%IsAsmWasmCode(Module));
})();
(function TestBadSignedConditionalReturn() {
......@@ -474,7 +474,7 @@ function assertValidAsm(func) {
return foo;
}
Module();
assertFalse(% IsAsmWasmCode(Module));
assertFalse(%IsAsmWasmCode(Module));
})();
(function TestAsmIsRegular() {
......
......@@ -7,7 +7,7 @@
// NOTE: This is in it's own file because it calls %DisallowCodegenFromStrings,
// which messes with the isolate's state.
(function testAsmWithWasmOff() {
% DisallowCodegenFromStrings();
%DisallowCodegenFromStrings();
function Module() {
'use asm';
function foo() {
......@@ -16,5 +16,5 @@
return {foo: foo};
}
Module();
assertTrue(% IsAsmWasmCode(Module));
assertTrue(%IsAsmWasmCode(Module));
})();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment