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 | 5 |
6 | 6 |
7 #include "v8.h" | 7 #include "v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 } | 148 } |
149 } | 149 } |
150 } | 150 } |
151 | 151 |
152 // Leave the internal frame. | 152 // Leave the internal frame. |
153 } | 153 } |
154 | 154 |
155 // Now that the break point has been handled, resume normal execution by | 155 // Now that the break point has been handled, resume normal execution by |
156 // jumping to the target address intended by the caller and that was | 156 // jumping to the target address intended by the caller and that was |
157 // overwritten by the address of DebugBreakXXX. | 157 // overwritten by the address of DebugBreakXXX. |
158 __ li(t9, Operand( | 158 ExternalReference after_break_target = |
159 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()))); | 159 ExternalReference::debug_after_break_target_address(masm->isolate()); |
| 160 __ li(t9, Operand(after_break_target)); |
160 __ lw(t9, MemOperand(t9)); | 161 __ lw(t9, MemOperand(t9)); |
161 __ Jump(t9); | 162 __ Jump(t9); |
162 } | 163 } |
163 | 164 |
164 | 165 |
165 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { | 166 void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) { |
166 // Register state for CallICStub | 167 // Register state for CallICStub |
167 // ----------- S t a t e ------------- | 168 // ----------- S t a t e ------------- |
168 // -- a1 : function | 169 // -- a1 : function |
169 // -- a3 : slot in feedback array (smi) | 170 // -- a3 : slot in feedback array (smi) |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 } | 300 } |
300 | 301 |
301 | 302 |
302 const bool Debug::kFrameDropperSupported = false; | 303 const bool Debug::kFrameDropperSupported = false; |
303 | 304 |
304 #undef __ | 305 #undef __ |
305 | 306 |
306 } } // namespace v8::internal | 307 } } // namespace v8::internal |
307 | 308 |
308 #endif // V8_TARGET_ARCH_MIPS | 309 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |