void Assembler::deserialization_set_target_internal_reference_at(
Address pc, Address target) {
- UNIMPLEMENTED(); // ARM64 does not use internal references.
+ Memory::Address_at(pc) = target;
}
Address RelocInfo::target_internal_reference() {
DCHECK(rmode_ == INTERNAL_REFERENCE);
- UNIMPLEMENTED(); // ARM64 does not use internal references.
- return NULL;
+ return Memory::Address_at(pc_);
}
Address RelocInfo::target_internal_reference_address() {
DCHECK(rmode_ == INTERNAL_REFERENCE);
- UNIMPLEMENTED(); // ARM64 does not use internal references.
- return NULL;
+ return reinterpret_cast<Address>(pc_);
}
IsRuntimeEntry(rmode_) || IsExternalReference(rmode_) ||
IsInternalReference(rmode_));
if (IsInternalReference(rmode_)) {
- UNIMPLEMENTED(); // ARM64 does not use internal references.
+ Memory::Address_at(pc_) = NULL;
} else {
Assembler::set_target_address_at(pc_, host_, NULL);
}
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
visitor->VisitExternalReference(this);
} else if (mode == RelocInfo::INTERNAL_REFERENCE) {
- UNIMPLEMENTED(); // ARM64 does not use internal references.
+ visitor->VisitInternalReference(this);
} else if (((RelocInfo::IsJSReturn(mode) &&
IsPatchedReturnSequence()) ||
(RelocInfo::IsDebugBreakSlot(mode) &&
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
StaticVisitor::VisitExternalReference(this);
} else if (mode == RelocInfo::INTERNAL_REFERENCE) {
- UNIMPLEMENTED(); // ARM64 does not use internal references.
+ StaticVisitor::VisitInternalReference(this);
} else if (heap->isolate()->debug()->has_break_points() &&
((RelocInfo::IsJSReturn(mode) &&
IsPatchedReturnSequence()) ||