Index: src/debug/x64/debug-x64.cc |
diff --git a/src/debug/x64/debug-x64.cc b/src/debug/x64/debug-x64.cc |
index 0d56ea7521cbfbd1edf5e92b832e894753af9a0d..f7fbe7691e4bcfcc1c375e8a7e5bc1bcb2fc137b 100644 |
--- a/src/debug/x64/debug-x64.cc |
+++ b/src/debug/x64/debug-x64.cc |
@@ -51,6 +51,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) { |