From eab27d69b6f92444e927d09efec0cb562e01f4f4 Mon Sep 17 00:00:00 2001 From: "weiliang.lin@intel.com" Date: Mon, 2 Jun 2014 11:31:32 +0000 Subject: [PATCH] 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 --- src/x87/debug-x87.cc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/x87/debug-x87.cc b/src/x87/debug-x87.cc index 2676648..1743236 100644 --- a/src/x87/debug-x87.cc +++ b/src/x87/debug-x87.cc @@ -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 __ -- 2.7.4