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

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

Issue 486213003: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 3 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/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // ----------- S t a t e ------------- 169 // ----------- S t a t e -------------
170 // -- r1 : function 170 // -- r1 : function
171 // -- r3 : slot in feedback array (smi) 171 // -- r3 : slot in feedback array (smi)
172 // ----------------------------------- 172 // -----------------------------------
173 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0); 173 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0);
174 } 174 }
175 175
176 176
177 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 177 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
178 // Calling convention for IC load (from ic-arm.cc). 178 // Calling convention for IC load (from ic-arm.cc).
179 Register receiver = LoadIC::ReceiverRegister(); 179 Register receiver = LoadConvention::ReceiverRegister();
180 Register name = LoadIC::NameRegister(); 180 Register name = LoadConvention::NameRegister();
181 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); 181 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0);
182 } 182 }
183 183
184 184
185 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 185 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
186 // Calling convention for IC store (from ic-arm.cc). 186 // Calling convention for IC store (from ic-arm.cc).
187 Register receiver = StoreIC::ReceiverRegister(); 187 Register receiver = StoreConvention::ReceiverRegister();
188 Register name = StoreIC::NameRegister(); 188 Register name = StoreConvention::NameRegister();
189 Register value = StoreIC::ValueRegister(); 189 Register value = StoreConvention::ValueRegister();
190 Generate_DebugBreakCallHelper( 190 Generate_DebugBreakCallHelper(
191 masm, receiver.bit() | name.bit() | value.bit(), 0); 191 masm, receiver.bit() | name.bit() | value.bit(), 0);
192 } 192 }
193 193
194 194
195 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 195 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
196 // Calling convention for keyed IC load (from ic-arm.cc). 196 // Calling convention for keyed IC load (from ic-arm.cc).
197 GenerateLoadICDebugBreak(masm); 197 GenerateLoadICDebugBreak(masm);
198 } 198 }
199 199
200 200
201 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 201 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
202 // Calling convention for IC keyed store call (from ic-arm.cc). 202 // Calling convention for IC keyed store call (from ic-arm.cc).
203 Register receiver = KeyedStoreIC::ReceiverRegister(); 203 Register receiver = StoreConvention::ReceiverRegister();
204 Register name = KeyedStoreIC::NameRegister(); 204 Register name = StoreConvention::NameRegister();
205 Register value = KeyedStoreIC::ValueRegister(); 205 Register value = StoreConvention::ValueRegister();
206 Generate_DebugBreakCallHelper( 206 Generate_DebugBreakCallHelper(
207 masm, receiver.bit() | name.bit() | value.bit(), 0); 207 masm, receiver.bit() | name.bit() | value.bit(), 0);
208 } 208 }
209 209
210 210
211 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 211 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
212 // Register state for CompareNil IC 212 // Register state for CompareNil IC
213 // ----------- S t a t e ------------- 213 // ----------- S t a t e -------------
214 // -- r0 : value 214 // -- r0 : value
215 // ----------------------------------- 215 // -----------------------------------
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 315 }
316 316
317 317
318 const bool LiveEdit::kFrameDropperSupported = true; 318 const bool LiveEdit::kFrameDropperSupported = true;
319 319
320 #undef __ 320 #undef __
321 321
322 } } // namespace v8::internal 322 } } // namespace v8::internal
323 323
324 #endif // V8_TARGET_ARCH_ARM 324 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698