Index: test/cctest/compiler/test-run-wasm-machops.cc |
diff --git a/test/cctest/compiler/test-run-wasm-machops.cc b/test/cctest/compiler/test-run-wasm-machops.cc |
index cbf2b2a0a383c1776ef9847861c00c0c7293c055..5490b494375128aae65fcab3df3fb23b9e25cfd8 100644 |
--- a/test/cctest/compiler/test-run-wasm-machops.cc |
+++ b/test/cctest/compiler/test-run-wasm-machops.cc |
@@ -28,10 +28,10 @@ static void UpdateMemoryReferences(Handle<Code> code, Address old_base, |
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) { |
RelocInfo::Mode mode = it.rinfo()->rmode(); |
if (RelocInfo::IsWasmMemoryReference(mode)) { |
- it.rinfo()->update_wasm_memory_reference(old_base, new_base); |
+ it.rinfo()->update_wasm_memory_reference(isolate, old_base, new_base); |
} else { |
DCHECK(RelocInfo::IsWasmMemorySizeReference(mode)); |
- it.rinfo()->update_wasm_memory_size(old_size, new_size); |
+ it.rinfo()->update_wasm_memory_size(isolate, old_size, new_size); |
} |
modified = true; |
} |
@@ -51,7 +51,8 @@ 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(old_size, new_size); |
+ it.rinfo()->update_wasm_function_table_size_reference(isolate, old_size, |
+ new_size); |
modified = true; |
} |
} |