X87: Move LiveEdit-related code.
port r21559 (dfd0cf8) BUG= R=danno@chromium.org Review URL: https://codereview.chromium.org/303053002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3ea92dead3
commit
eab27d69b6
@ -67,10 +67,6 @@ void BreakLocationIterator::ClearDebugBreakAtSlot() {
|
||||
}
|
||||
|
||||
|
||||
// All debug break stubs support padding for LiveEdit.
|
||||
const bool Debug::FramePaddingLayout::kIsSupported = true;
|
||||
|
||||
|
||||
#define __ ACCESS_MASM(masm)
|
||||
|
||||
static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
|
||||
@ -82,11 +78,10 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm,
|
||||
FrameScope scope(masm, StackFrame::INTERNAL);
|
||||
|
||||
// Load padding words on stack.
|
||||
for (int i = 0; i < Debug::FramePaddingLayout::kInitialSize; i++) {
|
||||
__ push(Immediate(Smi::FromInt(
|
||||
Debug::FramePaddingLayout::kPaddingValue)));
|
||||
for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) {
|
||||
__ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue)));
|
||||
}
|
||||
__ push(Immediate(Smi::FromInt(Debug::FramePaddingLayout::kInitialSize)));
|
||||
__ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
|
||||
|
||||
// Store the registers containing live values on the expression stack to
|
||||
// make sure that these are correctly updated during GC. Non object values
|
||||
@ -331,7 +326,8 @@ void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
|
||||
__ jmp(edx);
|
||||
}
|
||||
|
||||
const bool Debug::kFrameDropperSupported = true;
|
||||
|
||||
const bool LiveEdit::kFrameDropperSupported = true;
|
||||
|
||||
#undef __
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user