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

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

Issue 638523003: Updates to maintain flag --vector-ics (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/full-codegen-x64.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_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // -- rdi : function 157 // -- rdi : function
158 // ----------------------------------- 158 // -----------------------------------
159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false); 159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false);
160 } 160 }
161 161
162 162
163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
164 // Register state for IC load call (from ic-x64.cc). 164 // Register state for IC load call (from ic-x64.cc).
165 Register receiver = LoadDescriptor::ReceiverRegister(); 165 Register receiver = LoadDescriptor::ReceiverRegister();
166 Register name = LoadDescriptor::NameRegister(); 166 Register name = LoadDescriptor::NameRegister();
167 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); 167 RegList regs = receiver.bit() | name.bit();
168 if (FLAG_vector_ics) {
169 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit();
170 }
171 Generate_DebugBreakCallHelper(masm, regs, 0, false);
168 } 172 }
169 173
170 174
171 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 175 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
172 // Register state for IC store call (from ic-x64.cc). 176 // Register state for IC store call (from ic-x64.cc).
173 Register receiver = StoreDescriptor::ReceiverRegister(); 177 Register receiver = StoreDescriptor::ReceiverRegister();
174 Register name = StoreDescriptor::NameRegister(); 178 Register name = StoreDescriptor::NameRegister();
175 Register value = StoreDescriptor::ValueRegister(); 179 Register value = StoreDescriptor::ValueRegister();
176 Generate_DebugBreakCallHelper( 180 Generate_DebugBreakCallHelper(
177 masm, receiver.bit() | name.bit() | value.bit(), 0, false); 181 masm, receiver.bit() | name.bit() | value.bit(), 0, false);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 __ jmp(rdx); 301 __ jmp(rdx);
298 } 302 }
299 303
300 const bool LiveEdit::kFrameDropperSupported = true; 304 const bool LiveEdit::kFrameDropperSupported = true;
301 305
302 #undef __ 306 #undef __
303 307
304 } } // namespace v8::internal 308 } } // namespace v8::internal
305 309
306 #endif // V8_TARGET_ARCH_X64 310 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698