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

Side by Side Diff: src/x64/interface-descriptors-x64.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // rcx : original constructor (for IsSuperConstructorCall) 184 // rcx : original constructor (for IsSuperConstructorCall)
185 // rdx : slot in feedback vector (Smi, for RecordCallTarget) 185 // rdx : slot in feedback vector (Smi, for RecordCallTarget)
186 // rdi : constructor function 186 // rdi : constructor function
187 // TODO(turbofan): So far we don't gather type feedback and hence skip the 187 // TODO(turbofan): So far we don't gather type feedback and hence skip the
188 // slot parameter, but ArrayConstructStub needs the vector to be undefined. 188 // slot parameter, but ArrayConstructStub needs the vector to be undefined.
189 Register registers[] = {rax, rdi, rcx, rbx}; 189 Register registers[] = {rax, rdi, rcx, rbx};
190 data->InitializePlatformSpecific(arraysize(registers), registers); 190 data->InitializePlatformSpecific(arraysize(registers), registers);
191 } 191 }
192 192
193 193
194 void CallTrampolineDescriptor::InitializePlatformSpecific(
195 CallInterfaceDescriptorData* data) {
Camillo Bruni 2015/09/08 11:19:13 // rdi: target // rax: number of arguments
Benedikt Meurer 2015/09/08 13:08:58 Done.
196 Register registers[] = {rdi, rax};
197 data->InitializePlatformSpecific(arraysize(registers), registers);
198 }
199
200
194 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 201 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
195 CallInterfaceDescriptorData* data) { 202 CallInterfaceDescriptorData* data) {
196 Register registers[] = {rcx, rbx, rax}; 203 Register registers[] = {rcx, rbx, rax};
197 data->InitializePlatformSpecific(arraysize(registers), registers); 204 data->InitializePlatformSpecific(arraysize(registers), registers);
198 } 205 }
199 206
200 207
201 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 208 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
202 CallInterfaceDescriptorData* data) { 209 CallInterfaceDescriptorData* data) {
203 Register registers[] = {rax, rbx}; 210 Register registers[] = {rax, rbx};
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 rdi, // math rounding function 376 rdi, // math rounding function
370 rdx, // vector slot id 377 rdx, // vector slot id
371 rbx // type vector 378 rbx // type vector
372 }; 379 };
373 data->InitializePlatformSpecific(arraysize(registers), registers); 380 data->InitializePlatformSpecific(arraysize(registers), registers);
374 } 381 }
375 } // namespace internal 382 } // namespace internal
376 } // namespace v8 383 } // namespace v8
377 384
378 #endif // V8_TARGET_ARCH_X64 385 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698