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

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

Issue 642603004: X87: Updates to maintain flag --vector-ics (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 2 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/builtins-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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 = LoadDescriptor::ReceiverRegister(); 183 Register receiver = LoadDescriptor::ReceiverRegister();
184 Register name = LoadDescriptor::NameRegister(); 184 Register name = LoadDescriptor::NameRegister();
185 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); 185 RegList regs = receiver.bit() | name.bit();
186 if (FLAG_vector_ics) {
187 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit();
188 }
189 Generate_DebugBreakCallHelper(masm, regs, 0, false);
186 } 190 }
187 191
188 192
189 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 193 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
190 // Register state for IC store call (from ic-x87.cc). 194 // Register state for IC store call (from ic-x87.cc).
191 Register receiver = StoreDescriptor::ReceiverRegister(); 195 Register receiver = StoreDescriptor::ReceiverRegister();
192 Register name = StoreDescriptor::NameRegister(); 196 Register name = StoreDescriptor::NameRegister();
193 Register value = StoreDescriptor::ValueRegister(); 197 Register value = StoreDescriptor::ValueRegister();
194 Generate_DebugBreakCallHelper( 198 Generate_DebugBreakCallHelper(
195 masm, receiver.bit() | name.bit() | value.bit(), 0, false); 199 masm, receiver.bit() | name.bit() | value.bit(), 0, false);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 321 }
318 322
319 323
320 const bool LiveEdit::kFrameDropperSupported = true; 324 const bool LiveEdit::kFrameDropperSupported = true;
321 325
322 #undef __ 326 #undef __
323 327
324 } } // namespace v8::internal 328 } } // namespace v8::internal
325 329
326 #endif // V8_TARGET_ARCH_X87 330 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/builtins-x87.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698