| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 __ Pop(scratch, reg); | 200 __ Pop(scratch, reg); |
| 201 __ Bfxil(reg, scratch, 32, 32); | 201 __ Bfxil(reg, scratch, 32, 32); |
| 202 } | 202 } |
| 203 | 203 |
| 204 // Leave the internal frame. | 204 // Leave the internal frame. |
| 205 } | 205 } |
| 206 | 206 |
| 207 // Now that the break point has been handled, resume normal execution by | 207 // Now that the break point has been handled, resume normal execution by |
| 208 // jumping to the target address intended by the caller and that was | 208 // jumping to the target address intended by the caller and that was |
| 209 // overwritten by the address of DebugBreakXXX. | 209 // overwritten by the address of DebugBreakXXX. |
| 210 ExternalReference after_break_target(Debug_Address::AfterBreakTarget(), | 210 ExternalReference after_break_target = |
| 211 masm->isolate()); | 211 ExternalReference::debug_after_break_target_address(masm->isolate()); |
| 212 __ Mov(scratch, after_break_target); | 212 __ Mov(scratch, after_break_target); |
| 213 __ Ldr(scratch, MemOperand(scratch)); | 213 __ Ldr(scratch, MemOperand(scratch)); |
| 214 __ Br(scratch); | 214 __ Br(scratch); |
| 215 } | 215 } |
| 216 | 216 |
| 217 | 217 |
| 218 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { | 218 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { |
| 219 // Register state for CallICStub | 219 // Register state for CallICStub |
| 220 // ----------- S t a t e ------------- | 220 // ----------- S t a t e ------------- |
| 221 // -- x1 : function | 221 // -- x1 : function |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 347 |
| 348 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | 348 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
| 349 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); | 349 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); |
| 350 } | 350 } |
| 351 | 351 |
| 352 const bool Debug::kFrameDropperSupported = false; | 352 const bool Debug::kFrameDropperSupported = false; |
| 353 | 353 |
| 354 } } // namespace v8::internal | 354 } } // namespace v8::internal |
| 355 | 355 |
| 356 #endif // V8_TARGET_ARCH_ARM64 | 356 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |