| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 // Some platforms have extra information to associate with the descriptor. | 163 // Some platforms have extra information to associate with the descriptor. |
| 164 PlatformInterfaceDescriptor* platform_specific_descriptor() const { | 164 PlatformInterfaceDescriptor* platform_specific_descriptor() const { |
| 165 return data()->platform_specific_descriptor(); | 165 return data()->platform_specific_descriptor(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 Type::FunctionType* GetFunctionType() const { | 168 Type::FunctionType* GetFunctionType() const { |
| 169 return data()->function_type(); | 169 return data()->function_type(); |
| 170 } | 170 } |
| 171 | 171 |
| 172 static const Register ContextRegister(); | |
| 173 | |
| 174 const char* DebugName(Isolate* isolate) const; | 172 const char* DebugName(Isolate* isolate) const; |
| 175 | 173 |
| 176 static Type::FunctionType* BuildDefaultFunctionType(Isolate* isolate, | 174 static Type::FunctionType* BuildDefaultFunctionType(Isolate* isolate, |
| 177 int paramater_count); | 175 int paramater_count); |
| 178 | 176 |
| 179 protected: | 177 protected: |
| 180 const CallInterfaceDescriptorData* data() const { return data_; } | 178 const CallInterfaceDescriptorData* data() const { return data_; } |
| 181 | 179 |
| 182 virtual Type::FunctionType* BuildCallInterfaceDescriptorFunctionType( | 180 virtual Type::FunctionType* BuildCallInterfaceDescriptorFunctionType( |
| 183 Isolate* isolate, int register_param_count) { | 181 Isolate* isolate, int register_param_count) { |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 } // namespace v8::internal | 653 } // namespace v8::internal |
| 656 | 654 |
| 657 | 655 |
| 658 #if V8_TARGET_ARCH_ARM64 | 656 #if V8_TARGET_ARCH_ARM64 |
| 659 #include "src/arm64/interface-descriptors-arm64.h" | 657 #include "src/arm64/interface-descriptors-arm64.h" |
| 660 #elif V8_TARGET_ARCH_ARM | 658 #elif V8_TARGET_ARCH_ARM |
| 661 #include "src/arm/interface-descriptors-arm.h" | 659 #include "src/arm/interface-descriptors-arm.h" |
| 662 #endif | 660 #endif |
| 663 | 661 |
| 664 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 662 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |