Index: src/x64/virtual-frame-x64.cc |
=================================================================== |
--- src/x64/virtual-frame-x64.cc (revision 6445) |
+++ src/x64/virtual-frame-x64.cc (working copy) |
@@ -30,6 +30,7 @@ |
#if defined(V8_TARGET_ARCH_X64) |
#include "codegen-inl.h" |
+#include "gdb-jit.h" |
#include "register-allocator-inl.h" |
#include "scopes.h" |
#include "stub-cache.h" |
@@ -63,8 +64,10 @@ |
#endif |
EmitPush(rbp); |
+ SET_UNWIND_INFO(UNWIND_STATE_AFTER_RBP_PUSH, masm()->pc_offset()); |
Vyacheslav Egorov (Chromium)
2011/01/25 12:50:11
The classic codegen is going to be replaced with C
|
__ movq(rbp, rsp); |
+ SET_UNWIND_INFO(UNWIND_STATE_AFTER_RBP_SET, masm()->pc_offset()); |
// Store the context in the frame. The context is kept in rsi and a |
// copy is stored in the frame. The external reference to rsi |
@@ -101,6 +104,7 @@ |
} |
EmitPop(rbp); |
+ SET_UNWIND_INFO(UNWIND_STATE_AFTER_RBP_POP, masm()->pc_offset()); |
} |