diff options
Diffstat (limited to 'deps/v8/src/debug/mips64')
-rw-r--r-- | deps/v8/src/debug/mips64/debug-mips64.cc | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/deps/v8/src/debug/mips64/debug-mips64.cc b/deps/v8/src/debug/mips64/debug-mips64.cc deleted file mode 100644 index 7b8e9e9744..0000000000 --- a/deps/v8/src/debug/mips64/debug-mips64.cc +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2012 the V8 project authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#if V8_TARGET_ARCH_MIPS64 - -#include "src/debug/debug.h" - -#include "src/codegen/macro-assembler.h" -#include "src/debug/liveedit.h" -#include "src/execution/frames-inl.h" - -namespace v8 { -namespace internal { - -#define __ ACCESS_MASM(masm) - -void DebugCodegen::GenerateHandleDebuggerStatement(MacroAssembler* masm) { - { - FrameScope scope(masm, StackFrame::INTERNAL); - __ CallRuntime(Runtime::kHandleDebuggerStatement, 0); - } - __ MaybeDropFrames(); - - // Return to caller. - __ Ret(); -} - -void DebugCodegen::GenerateFrameDropperTrampoline(MacroAssembler* masm) { - // Frame is being dropped: - // - Drop to the target frame specified by a1. - // - Look up current function on the frame. - // - Leave the frame. - // - Restart the frame by calling the function. - __ mov(fp, a1); - __ Ld(a1, MemOperand(fp, StandardFrameConstants::kFunctionOffset)); - __ Ld(a0, MemOperand(fp, StandardFrameConstants::kArgCOffset)); - - // Pop return address and frame. - __ LeaveFrame(StackFrame::INTERNAL); - - __ li(a2, Operand(kDontAdaptArgumentsSentinel)); - - __ InvokeFunction(a1, a2, a0, JUMP_FUNCTION); -} - - -const bool LiveEdit::kFrameDropperSupported = true; - -#undef __ - -} // namespace internal -} // namespace v8 - -#endif // V8_TARGET_ARCH_MIPS64 |