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

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

Issue 513533003: X87: Move register conventions out of the IC classes. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: 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
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/full-codegen-x87.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_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // -- edx : type feedback slot (smi) 173 // -- edx : type feedback slot (smi)
174 // -- edi : function 174 // -- edi : function
175 // ----------------------------------- 175 // -----------------------------------
176 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(), 176 Generate_DebugBreakCallHelper(masm, edx.bit() | edi.bit(),
177 0, false); 177 0, false);
178 } 178 }
179 179
180 180
181 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 181 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
182 // Register state for IC load call (from ic-x87.cc). 182 // Register state for IC load call (from ic-x87.cc).
183 Register receiver = LoadIC::ReceiverRegister(); 183 Register receiver = LoadConvention::ReceiverRegister();
184 Register name = LoadIC::NameRegister(); 184 Register name = LoadConvention::NameRegister();
185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); 185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false);
186 } 186 }
187 187
188 188
189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
190 // Register state for IC store call (from ic-x87.cc). 190 // Register state for IC store call (from ic-x87.cc).
191 Register receiver = StoreIC::ReceiverRegister(); 191 Register receiver = StoreConvention::ReceiverRegister();
192 Register name = StoreIC::NameRegister(); 192 Register name = StoreConvention::NameRegister();
193 Register value = StoreIC::ValueRegister(); 193 Register value = StoreConvention::ValueRegister();
194 Generate_DebugBreakCallHelper( 194 Generate_DebugBreakCallHelper(
195 masm, receiver.bit() | name.bit() | value.bit(), 0, false); 195 masm, receiver.bit() | name.bit() | value.bit(), 0, false);
196 } 196 }
197 197
198 198
199 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 199 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
200 // Register state for keyed IC load call (from ic-x87.cc). 200 // Register state for keyed IC load call (from ic-x87.cc).
201 GenerateLoadICDebugBreak(masm); 201 GenerateLoadICDebugBreak(masm);
202 } 202 }
203 203
204 204
205 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 205 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
206 // Register state for keyed IC store call (from ic-x87.cc). 206 // Register state for keyed IC store call (from ic-x87.cc).
207 Register receiver = KeyedStoreIC::ReceiverRegister(); 207 Register receiver = StoreConvention::ReceiverRegister();
208 Register name = KeyedStoreIC::NameRegister(); 208 Register name = StoreConvention::NameRegister();
209 Register value = KeyedStoreIC::ValueRegister(); 209 Register value = StoreConvention::ValueRegister();
210 Generate_DebugBreakCallHelper( 210 Generate_DebugBreakCallHelper(
211 masm, receiver.bit() | name.bit() | value.bit(), 0, false); 211 masm, receiver.bit() | name.bit() | value.bit(), 0, false);
212 } 212 }
213 213
214 214
215 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 215 void DebugCodegen::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
216 // Register state for CompareNil IC 216 // Register state for CompareNil IC
217 // ----------- S t a t e ------------- 217 // ----------- S t a t e -------------
218 // -- eax : value 218 // -- eax : value
219 // ----------------------------------- 219 // -----------------------------------
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 317 }
318 318
319 319
320 const bool LiveEdit::kFrameDropperSupported = true; 320 const bool LiveEdit::kFrameDropperSupported = true;
321 321
322 #undef __ 322 #undef __
323 323
324 } } // namespace v8::internal 324 } } // namespace v8::internal
325 325
326 #endif // V8_TARGET_ARCH_X87 326 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698