| Index: src/debug/x87/debug-x87.cc
|
| diff --git a/src/debug/x87/debug-x87.cc b/src/debug/x87/debug-x87.cc
|
| index 8ddb82f39d4b24a9adc87360cca9ca6646145348..28b635b3266ac7ed8c48aaba6a94a9b678f4489e 100644
|
| --- a/src/debug/x87/debug-x87.cc
|
| +++ b/src/debug/x87/debug-x87.cc
|
| @@ -110,9 +110,12 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm,
|
|
|
| void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
|
| // We do not know our frame height, but set esp based on ebp.
|
| - __ lea(esp, Operand(ebp, -1 * kPointerSize));
|
| -
|
| + __ lea(esp, Operand(ebp, FrameDropperFrameConstants::kFunctionOffset));
|
| __ pop(edi); // Function.
|
| + __ add(esp, Immediate(-FrameDropperFrameConstants::kCodeOffset)); // INTERNAL
|
| + // frame
|
| + // marker
|
| + // and code
|
| __ pop(ebp);
|
|
|
| ParameterCount dummy(0);
|
|
|