diff options
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js b/deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js index 5bcac2af9e9..aa0525c09d8 100644 --- a/deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js +++ b/deps/v8/test/mjsunit/wasm/compilation-hints-decoder.js @@ -20,7 +20,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js'); .exportFunc(); assertThrows(() => builder.instantiate({mod: {pow: Math.pow}}), WebAssembly.CompileError, - "WebAssembly.Module(): Invalid compilation hint 0x2d " + + "WebAssembly.Module(): Invalid compilation hint 0x19 " + "(forbidden downgrade) @+70"); })(); @@ -33,8 +33,8 @@ load('test/mjsunit/wasm/wasm-module-builder.js'); kExprLocalGet, 0, kExprCallFunction, 0]) .setCompilationHint(kCompilationHintStrategyDefault, - kCompilationHintTierInterpreter, - kCompilationHintTierInterpreter) + kCompilationHintTierBaseline, + kCompilationHintTierBaseline) .exportFunc(); builder.addFunction('upow2', kSig_i_i) .addBody([kExprLocalGet, 0, |