Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 48d1ff0b858087f394624175fbecb0acb38ed649..f934429dec36cb84c86f0fd48b656c452d4d0ff5 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13894,12 +13894,12 @@ void Code::CopyFrom(const CodeDesc& desc) { |
// pointers to the first instruction in the code object |
Handle<Object> p = it.rinfo()->target_object_handle(origin); |
Code* code = Code::cast(*p); |
- it.rinfo()->set_target_address(code->instruction_start(), |
+ it.rinfo()->set_target_address(GetIsolate(), code->instruction_start(), |
UPDATE_WRITE_BARRIER, SKIP_ICACHE_FLUSH); |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |
Address p = it.rinfo()->target_runtime_entry(origin); |
- it.rinfo()->set_target_runtime_entry(p, UPDATE_WRITE_BARRIER, |
- SKIP_ICACHE_FLUSH); |
+ it.rinfo()->set_target_runtime_entry( |
+ GetIsolate(), p, UPDATE_WRITE_BARRIER, SKIP_ICACHE_FLUSH); |
} else if (mode == RelocInfo::CODE_AGE_SEQUENCE) { |
Handle<Object> p = it.rinfo()->code_age_stub_handle(origin); |
Code* code = Code::cast(*p); |