summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/compiler/test-run-wasm-machops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-run-wasm-machops.cc')
-rw-r--r--deps/v8/test/cctest/compiler/test-run-wasm-machops.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/test/cctest/compiler/test-run-wasm-machops.cc b/deps/v8/test/cctest/compiler/test-run-wasm-machops.cc
index 2f1536433f..30bdad59e6 100644
--- a/deps/v8/test/cctest/compiler/test-run-wasm-machops.cc
+++ b/deps/v8/test/cctest/compiler/test-run-wasm-machops.cc
@@ -32,14 +32,12 @@ static void UpdateFunctionTableSizeReferences(Handle<Code> code,
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
RelocInfo::Mode mode = it.rinfo()->rmode();
if (RelocInfo::IsWasmFunctionTableSizeReference(mode)) {
- it.rinfo()->update_wasm_function_table_size_reference(isolate, old_size,
- new_size);
+ it.rinfo()->update_wasm_function_table_size_reference(old_size, new_size);
modified = true;
}
}
if (modified) {
- Assembler::FlushICache(isolate, code->instruction_start(),
- code->instruction_size());
+ Assembler::FlushICache(code->instruction_start(), code->instruction_size());
}
}