Index: test/cctest/test-run-wasm-relocation-x64.cc |
diff --git a/test/cctest/test-run-wasm-relocation-x64.cc b/test/cctest/test-run-wasm-relocation-x64.cc |
index 29491e8c87a0ac5bd465ecc311213ba532371f42..fc1004073ec7eba6d8061506f64868fbc1be1af2 100644 |
--- a/test/cctest/test-run-wasm-relocation-x64.cc |
+++ b/test/cctest/test-run-wasm-relocation-x64.cc |
@@ -61,7 +61,7 @@ TEST(WasmRelocationX64MemoryReference) { |
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) { |
DCHECK(RelocInfo::IsWasmMemoryReference(it.rinfo()->rmode())); |
it.rinfo()->update_wasm_memory_reference( |
- it.rinfo()->wasm_memory_reference(), |
+ isolate, it.rinfo()->wasm_memory_reference(), |
it.rinfo()->wasm_memory_reference() + offset, SKIP_ICACHE_FLUSH); |
} |
@@ -119,7 +119,7 @@ TEST(WasmRelocationX64WasmMemorySizeReference) { |
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) { |
DCHECK(RelocInfo::IsWasmMemorySizeReference(it.rinfo()->rmode())); |
it.rinfo()->update_wasm_memory_size( |
- it.rinfo()->wasm_memory_size_reference(), |
+ isolate, it.rinfo()->wasm_memory_size_reference(), |
it.rinfo()->wasm_memory_size_reference() + diff, SKIP_ICACHE_FLUSH); |
} |