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

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

Issue 1695633003: [runtime] Turn ArgumentAccessStub into FastNewSloppyArgumentsStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS dead code Created 4 years, 10 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/x64/code-stubs-x64.cc ('k') | no next file » | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 48
49 const Register InstanceOfDescriptor::LeftRegister() { return rdx; } 49 const Register InstanceOfDescriptor::LeftRegister() { return rdx; }
50 const Register InstanceOfDescriptor::RightRegister() { return rax; } 50 const Register InstanceOfDescriptor::RightRegister() { return rax; }
51 51
52 52
53 const Register StringCompareDescriptor::LeftRegister() { return rdx; } 53 const Register StringCompareDescriptor::LeftRegister() { return rdx; }
54 const Register StringCompareDescriptor::RightRegister() { return rax; } 54 const Register StringCompareDescriptor::RightRegister() { return rax; }
55 55
56 56
57 const Register ArgumentsAccessNewDescriptor::function() { return rdi; }
58 const Register ArgumentsAccessNewDescriptor::parameter_count() { return rcx; }
59 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return rdx; }
60
61
62 const Register ApiGetterDescriptor::function_address() { return r8; } 57 const Register ApiGetterDescriptor::function_address() { return r8; }
63 58
64 59
65 const Register MathPowTaggedDescriptor::exponent() { return rdx; } 60 const Register MathPowTaggedDescriptor::exponent() { return rdx; }
66 61
67 62
68 const Register MathPowIntegerDescriptor::exponent() { 63 const Register MathPowIntegerDescriptor::exponent() {
69 return MathPowTaggedDescriptor::exponent(); 64 return MathPowTaggedDescriptor::exponent();
70 } 65 }
71 66
(...skipping 15 matching lines...) Expand all
87 data->InitializePlatformSpecific(arraysize(registers), registers); 82 data->InitializePlatformSpecific(arraysize(registers), registers);
88 } 83 }
89 84
90 85
91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 86 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
92 CallInterfaceDescriptorData* data) { 87 CallInterfaceDescriptorData* data) {
93 Register registers[] = {rdi}; 88 Register registers[] = {rdi};
94 data->InitializePlatformSpecific(arraysize(registers), registers); 89 data->InitializePlatformSpecific(arraysize(registers), registers);
95 } 90 }
96 91
92 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific(
93 CallInterfaceDescriptorData* data) {
94 Register registers[] = {rdi};
95 data->InitializePlatformSpecific(arraysize(registers), registers);
96 }
97
97 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( 98 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
98 CallInterfaceDescriptorData* data) { 99 CallInterfaceDescriptorData* data) {
99 Register registers[] = {rdi}; 100 Register registers[] = {rdi};
100 data->InitializePlatformSpecific(arraysize(registers), registers); 101 data->InitializePlatformSpecific(arraysize(registers), registers);
101 } 102 }
102 103
103 104
104 void TypeofDescriptor::InitializePlatformSpecific( 105 void TypeofDescriptor::InitializePlatformSpecific(
105 CallInterfaceDescriptorData* data) { 106 CallInterfaceDescriptorData* data) {
106 Register registers[] = {rbx}; 107 Register registers[] = {rbx};
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 r15, // address of first argument (argv) 445 r15, // address of first argument (argv)
445 rbx // the runtime function to call 446 rbx // the runtime function to call
446 }; 447 };
447 data->InitializePlatformSpecific(arraysize(registers), registers); 448 data->InitializePlatformSpecific(arraysize(registers), registers);
448 } 449 }
449 450
450 } // namespace internal 451 } // namespace internal
451 } // namespace v8 452 } // namespace v8
452 453
453 #endif // V8_TARGET_ARCH_X64 454 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698