Index: test/cctest/test-run-wasm-relocation-arm64.cc |
diff --git a/test/cctest/test-run-wasm-relocation-arm64.cc b/test/cctest/test-run-wasm-relocation-arm64.cc |
index 02dd8951fa741907d815e9643260c9fbffb4c4ec..c27b1c8299bd1fd5ca777df68dce12205fec8709 100644 |
--- a/test/cctest/test-run-wasm-relocation-arm64.cc |
+++ b/test/cctest/test-run-wasm-relocation-arm64.cc |
@@ -62,7 +62,7 @@ TEST(WasmRelocationArm64MemoryReference) { |
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); |
} |
@@ -117,7 +117,7 @@ TEST(WasmRelocationArm64MemorySizeReference) { |
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); |
} |