Index: src/debug/ia32/debug-ia32.cc |
diff --git a/src/debug/ia32/debug-ia32.cc b/src/debug/ia32/debug-ia32.cc |
index d489a014413d3d7e33391ae476822629085c4378..95f2bc6b68b5baccf89ad0b11e9ce805c1719c3e 100644 |
--- a/src/debug/ia32/debug-ia32.cc |
+++ b/src/debug/ia32/debug-ia32.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) { |