| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "codegen.h" | 9 #include "codegen.h" |
| 10 #include "debug.h" | 10 #include "debug.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 } | 141 } |
| 142 } | 142 } |
| 143 | 143 |
| 144 // Leave the internal frame. | 144 // Leave the internal frame. |
| 145 } | 145 } |
| 146 | 146 |
| 147 // Now that the break point has been handled, resume normal execution by | 147 // Now that the break point has been handled, resume normal execution by |
| 148 // jumping to the target address intended by the caller and that was | 148 // jumping to the target address intended by the caller and that was |
| 149 // overwritten by the address of DebugBreakXXX. | 149 // overwritten by the address of DebugBreakXXX. |
| 150 ExternalReference after_break_target = | 150 ExternalReference after_break_target = |
| 151 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()); | 151 ExternalReference::debug_after_break_target_address(masm->isolate()); |
| 152 __ mov(ip, Operand(after_break_target)); | 152 __ mov(ip, Operand(after_break_target)); |
| 153 __ ldr(ip, MemOperand(ip)); | 153 __ ldr(ip, MemOperand(ip)); |
| 154 __ Jump(ip); | 154 __ Jump(ip); |
| 155 } | 155 } |
| 156 | 156 |
| 157 | 157 |
| 158 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { | 158 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { |
| 159 // Register state for CallICStub | 159 // Register state for CallICStub |
| 160 // ----------- S t a t e ------------- | 160 // ----------- S t a t e ------------- |
| 161 // -- r1 : function | 161 // -- r1 : function |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnArm); | 291 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnArm); |
| 292 } | 292 } |
| 293 | 293 |
| 294 const bool Debug::kFrameDropperSupported = false; | 294 const bool Debug::kFrameDropperSupported = false; |
| 295 | 295 |
| 296 #undef __ | 296 #undef __ |
| 297 | 297 |
| 298 } } // namespace v8::internal | 298 } } // namespace v8::internal |
| 299 | 299 |
| 300 #endif // V8_TARGET_ARCH_ARM | 300 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |