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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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 | « src/arm/interface-descriptors-arm.cc ('k') | src/array.js » ('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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // x2 : feedback vector 200 // x2 : feedback vector
201 // x3 : slot in feedback vector (Smi, for RecordCallTarget) 201 // x3 : slot in feedback vector (Smi, for RecordCallTarget)
202 // x4 : original constructor (for IsSuperConstructorCall) 202 // x4 : original constructor (for IsSuperConstructorCall)
203 // TODO(turbofan): So far we don't gather type feedback and hence skip the 203 // TODO(turbofan): So far we don't gather type feedback and hence skip the
204 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 204 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
205 Register registers[] = {x0, x1, x4, x2}; 205 Register registers[] = {x0, x1, x4, x2};
206 data->InitializePlatformSpecific(arraysize(registers), registers); 206 data->InitializePlatformSpecific(arraysize(registers), registers);
207 } 207 }
208 208
209 209
210 void CallTrampolineDescriptor::InitializePlatformSpecific(
211 CallInterfaceDescriptorData* data) {
212 // x1: target
213 // x0: number of arguments
214 Register registers[] = {x1, x0};
215 data->InitializePlatformSpecific(arraysize(registers), registers);
216 }
217
218
210 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 219 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
211 CallInterfaceDescriptorData* data) { 220 CallInterfaceDescriptorData* data) {
212 // x2: length 221 // x2: length
213 // x1: index (of last match) 222 // x1: index (of last match)
214 // x0: string 223 // x0: string
215 Register registers[] = {x2, x1, x0}; 224 Register registers[] = {x2, x1, x0};
216 data->InitializePlatformSpecific(arraysize(registers), registers); 225 data->InitializePlatformSpecific(arraysize(registers), registers);
217 } 226 }
218 227
219 228
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 x1, // math rounding function 432 x1, // math rounding function
424 x3, // vector slot id 433 x3, // vector slot id
425 x4, // type vector 434 x4, // type vector
426 }; 435 };
427 data->InitializePlatformSpecific(arraysize(registers), registers); 436 data->InitializePlatformSpecific(arraysize(registers), registers);
428 } 437 }
429 } // namespace internal 438 } // namespace internal
430 } // namespace v8 439 } // namespace v8
431 440
432 #endif // V8_TARGET_ARCH_ARM64 441 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698