Index: src/debug/x87/debug-x87.cc |
diff --git a/src/debug/x87/debug-x87.cc b/src/debug/x87/debug-x87.cc |
index 8c04e02b89c0f4faf66fed9e44b3b4d81321fe70..8ddb82f39d4b24a9adc87360cca9ca6646145348 100644 |
--- a/src/debug/x87/debug-x87.cc |
+++ b/src/debug/x87/debug-x87.cc |
@@ -50,6 +50,9 @@ void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, |
DCHECK_EQ(kSize, patcher.masm()->SizeOfCodeGeneratedSince(&check_codesize)); |
} |
+bool DebugCodegen::DebugBreakSlotIsPatched(Address pc) { |
+ return !Assembler::IsNop(pc); |
+} |
void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm, |
DebugBreakCallHelperMode mode) { |