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

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: Fix arm and arm64 typos. 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
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) {
Camillo Bruni 2015/09/08 11:19:13 // r1: target // r0: number of arguments
Benedikt Meurer 2015/09/08 13:08:58 Done.
197 Register registers[] = {r1, r0};
198 data->InitializePlatformSpecific(arraysize(registers), registers);
199 }
200
201
195 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 202 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
196 CallInterfaceDescriptorData* data) { 203 CallInterfaceDescriptorData* data) {
197 Register registers[] = {r2, r1, r0}; 204 Register registers[] = {r2, r1, r0};
198 data->InitializePlatformSpecific(arraysize(registers), registers); 205 data->InitializePlatformSpecific(arraysize(registers), registers);
199 } 206 }
200 207
201 208
202 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 209 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
203 CallInterfaceDescriptorData* data) { 210 CallInterfaceDescriptorData* data) {
204 Register registers[] = {r0, r1}; 211 Register registers[] = {r0, r1};
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 r1, // math rounding function 401 r1, // math rounding function
395 r3, // vector slot id 402 r3, // vector slot id
396 r4, // type vector 403 r4, // type vector
397 }; 404 };
398 data->InitializePlatformSpecific(arraysize(registers), registers); 405 data->InitializePlatformSpecific(arraysize(registers), registers);
399 } 406 }
400 } // namespace internal 407 } // namespace internal
401 } // namespace v8 408 } // namespace v8
402 409
403 #endif // V8_TARGET_ARCH_ARM 410 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | src/ia32/interface-descriptors-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698