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

Side by Side Diff: src/arm/debug-arm.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 | « no previous file | src/arm64/debug-arm64.cc » ('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 #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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/arm64/debug-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698