Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Side by Side Diff: src/mips/debug-mips.cc

Issue 296043002: Remove special debug ExternalReferences. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/serialize.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698