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

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

Issue 1325573004: [runtime] Replace many buggy uses of %_CallFunction with %_Call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address feedback. 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 | « no previous file | src/arm64/interface-descriptors-arm64.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // r2 : feedback vector 185 // r2 : feedback vector
186 // r3 : slot in feedback vector (Smi, for RecordCallTarget) 186 // r3 : slot in feedback vector (Smi, for RecordCallTarget)
187 // r4 : original constructor (for IsSuperConstructorCall) 187 // r4 : original constructor (for IsSuperConstructorCall)
188 // TODO(turbofan): So far we don't gather type feedback and hence skip the 188 // TODO(turbofan): So far we don't gather type feedback and hence skip the
189 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 189 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
190 Register registers[] = {r0, r1, r4, r2}; 190 Register registers[] = {r0, r1, r4, r2};
191 data->InitializePlatformSpecific(arraysize(registers), registers); 191 data->InitializePlatformSpecific(arraysize(registers), registers);
192 } 192 }
193 193
194 194
195 void CallTrampolineDescriptor::InitializePlatformSpecific(
196 CallInterfaceDescriptorData* data) {
197 // r0 : number of arguments
198 // r1 : the target to call
199 Register registers[] = {r1, r0};
200 data->InitializePlatformSpecific(arraysize(registers), registers);
201 }
202
203
195 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 204 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
196 CallInterfaceDescriptorData* data) { 205 CallInterfaceDescriptorData* data) {
197 Register registers[] = {r2, r1, r0}; 206 Register registers[] = {r2, r1, r0};
198 data->InitializePlatformSpecific(arraysize(registers), registers); 207 data->InitializePlatformSpecific(arraysize(registers), registers);
199 } 208 }
200 209
201 210
202 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 211 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
203 CallInterfaceDescriptorData* data) { 212 CallInterfaceDescriptorData* data) {
204 Register registers[] = {r0, r1}; 213 Register registers[] = {r0, r1};
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 r1, // math rounding function 403 r1, // math rounding function
395 r3, // vector slot id 404 r3, // vector slot id
396 r4, // type vector 405 r4, // type vector
397 }; 406 };
398 data->InitializePlatformSpecific(arraysize(registers), registers); 407 data->InitializePlatformSpecific(arraysize(registers), registers);
399 } 408 }
400 } // namespace internal 409 } // namespace internal
401 } // namespace v8 410 } // namespace v8
402 411
403 #endif // V8_TARGET_ARCH_ARM 412 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698