Index: src/x64/debug-x64.cc |
=================================================================== |
--- src/x64/debug-x64.cc (revision 4699) |
+++ src/x64/debug-x64.cc (working copy) |
@@ -28,6 +28,8 @@ |
#include "v8.h" |
+#if defined(V8_TARGET_ARCH_X64) |
+ |
#include "codegen-inl.h" |
#include "debug.h" |
@@ -132,10 +134,10 @@ |
// Register state for keyed IC load call (from ic-x64.cc). |
// ----------- S t a t e ------------- |
// -- rax : value |
+ // -- rcx : key |
+ // -- rdx : receiver |
// ----------------------------------- |
- // Register rax contains an object that needs to be pushed on the |
- // expression stack of the fake JS frame. |
- Generate_DebugBreakCallHelper(masm, rax.bit(), false); |
+ Generate_DebugBreakCallHelper(masm, rax.bit() | rcx.bit() | rdx.bit(), false); |
} |
@@ -216,3 +218,5 @@ |
#endif // ENABLE_DEBUGGER_SUPPORT |
} } // namespace v8::internal |
+ |
+#endif // V8_TARGET_ARCH_X64 |