Index: src/x64/debug-x64.cc |
=================================================================== |
--- src/x64/debug-x64.cc (revision 3380) |
+++ src/x64/debug-x64.cc (working copy) |
@@ -181,7 +181,7 @@ |
void BreakLocationIterator::ClearDebugBreakAtReturn() { |
rinfo()->PatchCode(original_rinfo()->pc(), |
- Debug::kX64JSReturnSequenceLength); |
+ Assembler::kJSReturnSequenceLength); |
} |
@@ -191,9 +191,10 @@ |
void BreakLocationIterator::SetDebugBreakAtReturn() { |
- ASSERT(Debug::kX64JSReturnSequenceLength >= Debug::kX64CallInstructionLength); |
+ ASSERT(Assembler::kJSReturnSequenceLength >= |
+ Assembler::kCallInstructionLength); |
rinfo()->PatchCodeWithCall(Debug::debug_break_return()->entry(), |
- Debug::kX64JSReturnSequenceLength - Debug::kX64CallInstructionLength); |
+ Assembler::kJSReturnSequenceLength - Assembler::kCallInstructionLength); |
} |
#endif // ENABLE_DEBUGGER_SUPPORT |