OLD | NEW |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 | 50 |
51 const Register InstanceOfDescriptor::LeftRegister() { return x1; } | 51 const Register InstanceOfDescriptor::LeftRegister() { return x1; } |
52 const Register InstanceOfDescriptor::RightRegister() { return x0; } | 52 const Register InstanceOfDescriptor::RightRegister() { return x0; } |
53 | 53 |
54 | 54 |
55 const Register StringCompareDescriptor::LeftRegister() { return x1; } | 55 const Register StringCompareDescriptor::LeftRegister() { return x1; } |
56 const Register StringCompareDescriptor::RightRegister() { return x0; } | 56 const Register StringCompareDescriptor::RightRegister() { return x0; } |
57 | 57 |
58 | 58 |
59 const Register ArgumentsAccessNewDescriptor::function() { return x1; } | |
60 const Register ArgumentsAccessNewDescriptor::parameter_count() { return x2; } | |
61 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return x3; } | |
62 | |
63 | |
64 const Register ApiGetterDescriptor::function_address() { return x2; } | 59 const Register ApiGetterDescriptor::function_address() { return x2; } |
65 | 60 |
66 | 61 |
67 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 62 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
68 | 63 |
69 | 64 |
70 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 65 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
71 | 66 |
72 | 67 |
73 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
(...skipping 17 matching lines...) Expand all Loading... |
91 | 86 |
92 | 87 |
93 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
94 CallInterfaceDescriptorData* data) { | 89 CallInterfaceDescriptorData* data) { |
95 // x1: function | 90 // x1: function |
96 Register registers[] = {x1}; | 91 Register registers[] = {x1}; |
97 data->InitializePlatformSpecific(arraysize(registers), registers); | 92 data->InitializePlatformSpecific(arraysize(registers), registers); |
98 } | 93 } |
99 | 94 |
100 | 95 |
| 96 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 97 CallInterfaceDescriptorData* data) { |
| 98 // x1: function |
| 99 Register registers[] = {x1}; |
| 100 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 101 } |
| 102 |
| 103 |
101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 104 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
102 CallInterfaceDescriptorData* data) { | 105 CallInterfaceDescriptorData* data) { |
103 // x1: function | 106 // x1: function |
104 Register registers[] = {x1}; | 107 Register registers[] = {x1}; |
105 data->InitializePlatformSpecific(arraysize(registers), registers); | 108 data->InitializePlatformSpecific(arraysize(registers), registers); |
106 } | 109 } |
107 | 110 |
108 | 111 |
109 void ToNumberDescriptor::InitializePlatformSpecific( | 112 void ToNumberDescriptor::InitializePlatformSpecific( |
110 CallInterfaceDescriptorData* data) { | 113 CallInterfaceDescriptorData* data) { |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 x1 // the runtime function to call | 510 x1 // the runtime function to call |
508 }; | 511 }; |
509 data->InitializePlatformSpecific(arraysize(registers), registers); | 512 data->InitializePlatformSpecific(arraysize(registers), registers); |
510 } | 513 } |
511 | 514 |
512 | 515 |
513 } // namespace internal | 516 } // namespace internal |
514 } // namespace v8 | 517 } // namespace v8 |
515 | 518 |
516 #endif // V8_TARGET_ARCH_ARM64 | 519 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |