1 // Copyright 2016 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "src/builtins/builtins-utils.h" 6 #include "src/builtins/builtins.h" 7 #include "src/debug/debug.h" 8 #include "src/objects-inl.h" 9 10 namespace v8 { 11 namespace internal { 12 Generate_Return_DebugBreak(MacroAssembler * masm)13void Builtins::Generate_Return_DebugBreak(MacroAssembler* masm) { 14 DebugCodegen::GenerateDebugBreakStub(masm, 15 DebugCodegen::SAVE_RESULT_REGISTER); 16 } 17 Generate_Slot_DebugBreak(MacroAssembler * masm)18void Builtins::Generate_Slot_DebugBreak(MacroAssembler* masm) { 19 DebugCodegen::GenerateDebugBreakStub(masm, 20 DebugCodegen::IGNORE_RESULT_REGISTER); 21 } 22 Generate_FrameDropperTrampoline(MacroAssembler * masm)23void Builtins::Generate_FrameDropperTrampoline(MacroAssembler* masm) { 24 DebugCodegen::GenerateFrameDropperTrampoline(masm); 25 } 26 Generate_HandleDebuggerStatement(MacroAssembler * masm)27void Builtins::Generate_HandleDebuggerStatement(MacroAssembler* masm) { 28 DebugCodegen::GenerateHandleDebuggerStatement(masm); 29 } 30 31 } // namespace internal 32 } // namespace v8 33