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

Side by Side Diff: src/ppc/interface-descriptors-ppc.cc

Issue 1310303008: PPC: [runtime] Replace many buggy uses of %_CallFunction with %_Call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/full-codegen/ppc/full-codegen-ppc.cc ('k') | no next file » | 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 #if V8_TARGET_ARCH_PPC 5 #if V8_TARGET_ARCH_PPC
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // r5 : feedback vector 183 // r5 : feedback vector
184 // r6 : slot in feedback vector (Smi, for RecordCallTarget) 184 // r6 : slot in feedback vector (Smi, for RecordCallTarget)
185 // r7 : original constructor (for IsSuperConstructorCall) 185 // r7 : original constructor (for IsSuperConstructorCall)
186 // TODO(turbofan): So far we don't gather type feedback and hence skip the 186 // TODO(turbofan): So far we don't gather type feedback and hence skip the
187 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 187 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
188 Register registers[] = {r3, r4, r7, r5}; 188 Register registers[] = {r3, r4, r7, r5};
189 data->InitializePlatformSpecific(arraysize(registers), registers); 189 data->InitializePlatformSpecific(arraysize(registers), registers);
190 } 190 }
191 191
192 192
193 void CallTrampolineDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) {
195 // r3 : number of arguments
196 // r4 : the target to call
197 Register registers[] = {r4, r3};
198 data->InitializePlatformSpecific(arraysize(registers), registers);
199 }
200
201
193 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 202 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) { 203 CallInterfaceDescriptorData* data) {
195 Register registers[] = {r5, r4, r3}; 204 Register registers[] = {r5, r4, r3};
196 data->InitializePlatformSpecific(arraysize(registers), registers); 205 data->InitializePlatformSpecific(arraysize(registers), registers);
197 } 206 }
198 207
199 208
200 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 209 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
201 CallInterfaceDescriptorData* data) { 210 CallInterfaceDescriptorData* data) {
202 Register registers[] = {r3, r4}; 211 Register registers[] = {r3, r4};
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 r4, // math rounding function 377 r4, // math rounding function
369 r6, // vector slot id 378 r6, // vector slot id
370 r7, // type vector 379 r7, // type vector
371 }; 380 };
372 data->InitializePlatformSpecific(arraysize(registers), registers); 381 data->InitializePlatformSpecific(arraysize(registers), registers);
373 } 382 }
374 } // namespace internal 383 } // namespace internal
375 } // namespace v8 384 } // namespace v8
376 385
377 #endif // V8_TARGET_ARCH_PPC 386 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698