Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index e5b577be80546c47d47f1677205190ca87cd81e5..42e220809f5771b0f8a8ca9c68de83e46db386c0 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -328,39 +328,6 @@ void RelocInfo::WipeOut() { |
} |
-bool RelocInfo::IsPatchedReturnSequence() { |
- // |
- // The patched return sequence is defined by |
- // BreakLocation::SetDebugBreakAtReturn() |
- // FIXED_SEQUENCE |
- |
- Instr instr0 = Assembler::instr_at(pc_); |
- Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); |
-#if V8_TARGET_ARCH_PPC64 |
- Instr instr3 = Assembler::instr_at(pc_ + (3 * Assembler::kInstrSize)); |
- Instr instr4 = Assembler::instr_at(pc_ + (4 * Assembler::kInstrSize)); |
- Instr binstr = Assembler::instr_at(pc_ + (7 * Assembler::kInstrSize)); |
-#else |
- Instr binstr = Assembler::instr_at(pc_ + 4 * Assembler::kInstrSize); |
-#endif |
- bool patched_return = |
- ((instr0 & kOpcodeMask) == ADDIS && (instr1 & kOpcodeMask) == ORI && |
-#if V8_TARGET_ARCH_PPC64 |
- (instr3 & kOpcodeMask) == ORIS && (instr4 & kOpcodeMask) == ORI && |
-#endif |
- (binstr == 0x7d821008)); // twge r2, r2 |
- |
- // printf("IsPatchedReturnSequence: %d\n", patched_return); |
- return patched_return; |
-} |
- |
- |
-bool RelocInfo::IsPatchedDebugBreakSlotSequence() { |
- Instr current_instr = Assembler::instr_at(pc_); |
- return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); |
-} |
- |
- |
void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |