Index: runtime/vm/assembler_arm.cc |
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc |
index 6f8cf47916d3a3531c6ea9a85d539cff2188f9b3..41ba7f5253134c53176b16081b202fe217473479 100644 |
--- a/runtime/vm/assembler_arm.cc |
+++ b/runtime/vm/assembler_arm.cc |
@@ -2720,7 +2720,7 @@ void Assembler::Branch(const StubEntry& stub_entry, |
Patchability patchable, |
Register pp, |
Condition cond) { |
- const Code& target_code = Code::Handle(stub_entry.code()); |
+ const Code& target_code = Code::ZoneHandle(stub_entry.code()); |
const int32_t offset = ObjectPool::element_offset( |
object_pool_wrapper_.FindObject(target_code, patchable)); |
LoadWordFromPoolOffset(CODE_REG, offset - kHeapObjectTag, pp, cond); |
@@ -2744,7 +2744,7 @@ void Assembler::BranchLink(const Code& target, Patchability patchable) { |
void Assembler::BranchLink(const StubEntry& stub_entry, |
Patchability patchable) { |
- const Code& code = Code::Handle(stub_entry.code()); |
+ const Code& code = Code::ZoneHandle(stub_entry.code()); |
BranchLink(code, patchable); |
} |
@@ -2763,7 +2763,7 @@ void Assembler::BranchLinkToRuntime() { |
void Assembler::BranchLinkWithEquivalence(const StubEntry& stub_entry, |
const Object& equivalence) { |
- const Code& target = Code::Handle(stub_entry.code()); |
+ const Code& target = Code::ZoneHandle(stub_entry.code()); |
// Make sure that class CallPattern is able to patch the label referred |
// to by this code sequence. |
// For added code robustness, use 'blx lr' in a patchable sequence and |
@@ -2783,7 +2783,7 @@ void Assembler::BranchLink(const ExternalLabel* label) { |
void Assembler::BranchLinkPatchable(const StubEntry& stub_entry) { |
- BranchLinkPatchable(Code::Handle(stub_entry.code())); |
+ BranchLinkPatchable(Code::ZoneHandle(stub_entry.code())); |
} |