Index: test/cctest/wasm/test-run-wasm-64.cc |
diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc |
index a978bdf1f7beccecc2a12823dcc3ec96b733931b..af45d606ab300924c59f556d8d0dfeb3320d8a55 100644 |
--- a/test/cctest/wasm/test-run-wasm-64.cc |
+++ b/test/cctest/wasm/test-run-wasm-64.cc |
@@ -1157,7 +1157,7 @@ WASM_EXEC_TEST(LoadStoreI64_sx) { |
ZERO_OFFSET // -- |
}; |
- r.Build(code, code + arraysize(code)); |
+ r.Build(code, code + arraysize(code), false); |
// Try a bunch of different negative values. |
for (int i = -1; i >= -128; i -= 11) { |
@@ -1470,9 +1470,8 @@ static void CompileCallIndirectMany(LocalType param) { |
TestingModule module(kExecuteCompiled); |
FunctionSig* sig = sigs.many(&zone, kAstStmt, param, num_params); |
- module.AddSignature(sig); |
- module.AddSignature(sig); |
- module.AddIndirectFunctionTable(nullptr, 0); |
+ byte index = module.AddSignature(sig); |
+ module.AddIndirectFunctionTable(sig, index, nullptr, 0); |
WasmFunctionCompiler t(sig, &module); |
@@ -1481,9 +1480,9 @@ static void CompileCallIndirectMany(LocalType param) { |
for (byte p = 0; p < num_params; p++) { |
ADD_CODE(code, kExprGetLocal, p); |
} |
- ADD_CODE(code, kExprCallIndirect, static_cast<byte>(num_params), 1); |
+ ADD_CODE(code, kExprCallIndirect, static_cast<byte>(num_params), index, 0); |
- t.Build(&code[0], &code[0] + code.size()); |
+ t.Build(&code[0], &code[0] + code.size(), false); |
t.Compile(); |
} |
} |
@@ -1551,7 +1550,7 @@ static void Run_WasmMixedCall_N(WasmExecutionMode execution_mode, int start) { |
// Return the expected value. |
ADD_CODE(code, WASM_I32V_2(kExpected)); |
- r.Build(&code[0], &code[0] + code.size()); |
+ r.Build(&code[0], &code[0] + code.size(), false); |
// Run the code. |
for (int t = 0; t < 10; t++) { |