Index: src/arm64/assembler-arm64-inl.h |
diff --git a/src/arm64/assembler-arm64-inl.h b/src/arm64/assembler-arm64-inl.h |
index 4947e138fe2cb03987f9551389cde748153029f4..aeca563c37f577b5a2582ea3605c026d6ca23704 100644 |
--- a/src/arm64/assembler-arm64-inl.h |
+++ b/src/arm64/assembler-arm64-inl.h |
@@ -853,24 +853,6 @@ void RelocInfo::WipeOut() { |
} |
-bool RelocInfo::IsPatchedReturnSequence() { |
- // The sequence must be: |
- // ldr ip0, [pc, #offset] |
- // blr ip0 |
- // See arm64/debug-arm64.cc DebugCodegen::PatchDebugBreakSlot |
- Instruction* i1 = reinterpret_cast<Instruction*>(pc_); |
- Instruction* i2 = i1->following(); |
- return i1->IsLdrLiteralX() && (i1->Rt() == kIp0Code) && |
- i2->IsBranchAndLinkToRegister() && (i2->Rn() == kIp0Code); |
-} |
- |
- |
-bool RelocInfo::IsPatchedDebugBreakSlotSequence() { |
- Instruction* current_instr = reinterpret_cast<Instruction*>(pc_); |
- return !current_instr->IsNop(Assembler::DEBUG_BREAK_NOP); |
-} |
- |
- |
void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |