summaryrefslogtreecommitdiff
path: root/chromium/v8/src/debug/x64/debug-x64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/debug/x64/debug-x64.cc')
-rw-r--r--chromium/v8/src/debug/x64/debug-x64.cc55
1 files changed, 0 insertions, 55 deletions
diff --git a/chromium/v8/src/debug/x64/debug-x64.cc b/chromium/v8/src/debug/x64/debug-x64.cc
deleted file mode 100644
index 22092138318..00000000000
--- a/chromium/v8/src/debug/x64/debug-x64.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_X64
-
-#include "src/debug/debug.h"
-
-#include "src/codegen/assembler.h"
-#include "src/codegen/macro-assembler.h"
-#include "src/debug/liveedit.h"
-#include "src/execution/frames-inl.h"
-#include "src/objects/objects-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(0);
-}
-
-void DebugCodegen::GenerateFrameDropperTrampoline(MacroAssembler* masm) {
- // Frame is being dropped:
- // - Drop to the target frame specified by rbx.
- // - Look up current function on the frame.
- // - Leave the frame.
- // - Restart the frame by calling the function.
- __ movq(rbp, rbx);
- __ movq(rdi, Operand(rbp, StandardFrameConstants::kFunctionOffset));
- __ movq(rax, Operand(rbp, StandardFrameConstants::kArgCOffset));
- __ leave();
-
- // The arguments are already in the stack (including any necessary padding),
- // we should not try to massage the arguments again.
- __ movq(rbx, Immediate(kDontAdaptArgumentsSentinel));
- __ InvokeFunction(rdi, no_reg, rbx, rax, JUMP_FUNCTION);
-}
-
-const bool LiveEdit::kFrameDropperSupported = true;
-
-#undef __
-
-} // namespace internal
-} // namespace v8
-
-#endif // V8_TARGET_ARCH_X64