| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 8 | 8 |
| 9 #include "codegen.h" | 9 #include "codegen.h" |
| 10 #include "debug.h" | 10 #include "debug.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 patcher.dc64(reinterpret_cast<int64_t>(entry)); | 116 patcher.dc64(reinterpret_cast<int64_t>(entry)); |
| 117 } | 117 } |
| 118 | 118 |
| 119 | 119 |
| 120 void BreakLocationIterator::ClearDebugBreakAtSlot() { | 120 void BreakLocationIterator::ClearDebugBreakAtSlot() { |
| 121 ASSERT(IsDebugBreakSlot()); | 121 ASSERT(IsDebugBreakSlot()); |
| 122 rinfo()->PatchCode(original_rinfo()->pc(), | 122 rinfo()->PatchCode(original_rinfo()->pc(), |
| 123 Assembler::kDebugBreakSlotInstructions); | 123 Assembler::kDebugBreakSlotInstructions); |
| 124 } | 124 } |
| 125 | 125 |
| 126 const bool Debug::FramePaddingLayout::kIsSupported = false; | |
| 127 | 126 |
| 128 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, | 127 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
| 129 RegList object_regs, | 128 RegList object_regs, |
| 130 RegList non_object_regs, | 129 RegList non_object_regs, |
| 131 Register scratch) { | 130 Register scratch) { |
| 132 { | 131 { |
| 133 FrameScope scope(masm, StackFrame::INTERNAL); | 132 FrameScope scope(masm, StackFrame::INTERNAL); |
| 134 | 133 |
| 135 // Any live values (object_regs and non_object_regs) in caller-saved | 134 // Any live values (object_regs and non_object_regs) in caller-saved |
| 136 // registers (or lr) need to be stored on the stack so that their values are | 135 // registers (or lr) need to be stored on the stack so that their values are |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 | 342 |
| 344 void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { | 343 void DebugCodegen::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { |
| 345 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); | 344 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); |
| 346 } | 345 } |
| 347 | 346 |
| 348 | 347 |
| 349 void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | 348 void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
| 350 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); | 349 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); |
| 351 } | 350 } |
| 352 | 351 |
| 353 const bool Debug::kFrameDropperSupported = false; | 352 |
| 353 const bool LiveEdit::kFrameDropperSupported = false; |
| 354 | 354 |
| 355 } } // namespace v8::internal | 355 } } // namespace v8::internal |
| 356 | 356 |
| 357 #endif // V8_TARGET_ARCH_ARM64 | 357 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |