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

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: 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/weak-collection.js ('k') | test/mjsunit/debug-liveedit-check-stack.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 #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) {
196 // rax : number of arguments
197 // rdi : the target to call
198 Register registers[] = {rdi, rax};
199 data->InitializePlatformSpecific(arraysize(registers), registers);
200 }
201
202
194 void RegExpConstructResultDescriptor::InitializePlatformSpecific( 203 void RegExpConstructResultDescriptor::InitializePlatformSpecific(
195 CallInterfaceDescriptorData* data) { 204 CallInterfaceDescriptorData* data) {
196 Register registers[] = {rcx, rbx, rax}; 205 Register registers[] = {rcx, rbx, rax};
197 data->InitializePlatformSpecific(arraysize(registers), registers); 206 data->InitializePlatformSpecific(arraysize(registers), registers);
198 } 207 }
199 208
200 209
201 void TransitionElementsKindDescriptor::InitializePlatformSpecific( 210 void TransitionElementsKindDescriptor::InitializePlatformSpecific(
202 CallInterfaceDescriptorData* data) { 211 CallInterfaceDescriptorData* data) {
203 Register registers[] = {rax, rbx}; 212 Register registers[] = {rax, rbx};
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 rdi, // math rounding function 378 rdi, // math rounding function
370 rdx, // vector slot id 379 rdx, // vector slot id
371 rbx // type vector 380 rbx // type vector
372 }; 381 };
373 data->InitializePlatformSpecific(arraysize(registers), registers); 382 data->InitializePlatformSpecific(arraysize(registers), registers);
374 } 383 }
375 } // namespace internal 384 } // namespace internal
376 } // namespace v8 385 } // namespace v8
377 386
378 #endif // V8_TARGET_ARCH_X64 387 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/weak-collection.js ('k') | test/mjsunit/debug-liveedit-check-stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698