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 |
59 const Register ApiGetterDescriptor::function_address() { return x2; } | 64 const Register ApiGetterDescriptor::function_address() { return x2; } |
60 | 65 |
61 | 66 |
62 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 67 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
63 | 68 |
64 | 69 |
65 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 70 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
66 | 71 |
67 | 72 |
68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 73 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
(...skipping 13 matching lines...) Expand all Loading... |
82 // x1: function | 87 // x1: function |
83 Register registers[] = {x1}; | 88 Register registers[] = {x1}; |
84 data->InitializePlatformSpecific(arraysize(registers), registers); | 89 data->InitializePlatformSpecific(arraysize(registers), registers); |
85 } | 90 } |
86 | 91 |
87 | 92 |
88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 93 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
89 CallInterfaceDescriptorData* data) { | 94 CallInterfaceDescriptorData* data) { |
90 // x1: function | 95 // x1: function |
91 Register registers[] = {x1}; | 96 Register registers[] = {x1}; |
92 data->InitializePlatformSpecific(arraysize(registers), registers); | |
93 } | |
94 | |
95 | |
96 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | |
97 CallInterfaceDescriptorData* data) { | |
98 // x1: function | |
99 Register registers[] = {x1}; | |
100 data->InitializePlatformSpecific(arraysize(registers), registers); | 97 data->InitializePlatformSpecific(arraysize(registers), registers); |
101 } | 98 } |
102 | 99 |
103 | 100 |
104 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
105 CallInterfaceDescriptorData* data) { | 102 CallInterfaceDescriptorData* data) { |
106 // x1: function | 103 // x1: function |
107 Register registers[] = {x1}; | 104 Register registers[] = {x1}; |
108 data->InitializePlatformSpecific(arraysize(registers), registers); | 105 data->InitializePlatformSpecific(arraysize(registers), registers); |
109 } | 106 } |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 x1 // the runtime function to call | 507 x1 // the runtime function to call |
511 }; | 508 }; |
512 data->InitializePlatformSpecific(arraysize(registers), registers); | 509 data->InitializePlatformSpecific(arraysize(registers), registers); |
513 } | 510 } |
514 | 511 |
515 | 512 |
516 } // namespace internal | 513 } // namespace internal |
517 } // namespace v8 | 514 } // namespace v8 |
518 | 515 |
519 #endif // V8_TARGET_ARCH_ARM64 | 516 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |