Index: src/ia32/virtual-frame-ia32.cc |
=================================================================== |
--- src/ia32/virtual-frame-ia32.cc (revision 3808) |
+++ src/ia32/virtual-frame-ia32.cc (working copy) |
@@ -853,6 +853,17 @@ |
} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
+void VirtualFrame::DebugBreak() { |
+ PrepareForCall(0, 0); |
+ ASSERT(cgen()->HasValidEntryRegisters()); |
+ __ DebugBreak(); |
+ Result result = cgen()->allocator()->Allocate(eax); |
+ ASSERT(result.is_valid()); |
+} |
+#endif |
+ |
+ |
Result VirtualFrame::InvokeBuiltin(Builtins::JavaScript id, |
InvokeFlag flag, |
int arg_count) { |