5 #if V8_TARGET_ARCH_IA32 7 #include "src/debug/debug.h" 9 #include "src/debug/liveedit.h" 10 #include "src/frames-inl.h" 11 #include "src/macro-assembler.h" 16 #define __ ACCESS_MASM(masm) 18 void DebugCodegen::GenerateHandleDebuggerStatement(MacroAssembler* masm) {
20 FrameScope scope(masm, StackFrame::INTERNAL);
21 __ CallRuntime(Runtime::kHandleDebuggerStatement, 0);
29 void DebugCodegen::GenerateFrameDropperTrampoline(MacroAssembler* masm) {
36 __ mov(edi, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
39 __ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
41 eax, FieldOperand(eax, SharedFunctionInfo::kFormalParameterCountOffset));
45 ParameterCount dummy(0);
46 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset));
47 __ InvokeFunctionCode(edi, no_reg, dummy, dummy, JUMP_FUNCTION);
50 const bool LiveEdit::kFrameDropperSupported =
true;
57 #endif // V8_TARGET_ARCH_IA32