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

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

Issue 1132513007: PPC: Now that vector ics are established for load, keyed load and call ics, let's remove dead code … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/full-codegen-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 7 #if V8_TARGET_ARCH_PPC
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // -- r6 : slot in feedback array (smi) 154 // -- r6 : slot in feedback array (smi)
155 // ----------------------------------- 155 // -----------------------------------
156 Generate_DebugBreakCallHelper(masm, r4.bit() | r6.bit(), 0); 156 Generate_DebugBreakCallHelper(masm, r4.bit() | r6.bit(), 0);
157 } 157 }
158 158
159 159
160 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 160 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
161 // Calling convention for IC load (from ic-ppc.cc). 161 // Calling convention for IC load (from ic-ppc.cc).
162 Register receiver = LoadDescriptor::ReceiverRegister(); 162 Register receiver = LoadDescriptor::ReceiverRegister();
163 Register name = LoadDescriptor::NameRegister(); 163 Register name = LoadDescriptor::NameRegister();
164 RegList regs = receiver.bit() | name.bit(); 164 RegList regs = receiver.bit() | name.bit() |
165 if (FLAG_vector_ics) { 165 VectorLoadICTrampolineDescriptor::SlotRegister().bit();
166 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit();
167 }
168 Generate_DebugBreakCallHelper(masm, regs, 0); 166 Generate_DebugBreakCallHelper(masm, regs, 0);
169 } 167 }
170 168
171 169
172 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 170 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
173 // Calling convention for IC store (from ic-ppc.cc). 171 // Calling convention for IC store (from ic-ppc.cc).
174 Register receiver = StoreDescriptor::ReceiverRegister(); 172 Register receiver = StoreDescriptor::ReceiverRegister();
175 Register name = StoreDescriptor::NameRegister(); 173 Register name = StoreDescriptor::NameRegister();
176 Register value = StoreDescriptor::ValueRegister(); 174 Register value = StoreDescriptor::ValueRegister();
177 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit() | value.bit(), 175 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit() | value.bit(),
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 297 }
300 298
301 299
302 const bool LiveEdit::kFrameDropperSupported = true; 300 const bool LiveEdit::kFrameDropperSupported = true;
303 301
304 #undef __ 302 #undef __
305 } 303 }
306 } // namespace v8::internal 304 } // namespace v8::internal
307 305
308 #endif // V8_TARGET_ARCH_PPC 306 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698