| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, | 425 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, |
| 426 LoadGlobalDescriptor) | 426 LoadGlobalDescriptor) |
| 427 | 427 |
| 428 static const Register VectorRegister() { | 428 static const Register VectorRegister() { |
| 429 return LoadWithVectorDescriptor::VectorRegister(); | 429 return LoadWithVectorDescriptor::VectorRegister(); |
| 430 } | 430 } |
| 431 }; | 431 }; |
| 432 | 432 |
| 433 class FastNewClosureDescriptor : public CallInterfaceDescriptor { | 433 class FastNewClosureDescriptor : public CallInterfaceDescriptor { |
| 434 public: | 434 public: |
| 435 DEFINE_PARAMETERS(kSharedFunctionInfo) | 435 DEFINE_PARAMETERS(kSharedFunctionInfo, kVector, kSlot) |
| 436 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) | 436 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
| 437 }; | 437 }; |
| 438 | 438 |
| 439 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { | 439 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
| 440 public: | 440 public: |
| 441 DEFINE_PARAMETERS(kFunction, kSlots) | 441 DEFINE_PARAMETERS(kFunction, kSlots) |
| 442 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, | 442 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, |
| 443 CallInterfaceDescriptor) | 443 CallInterfaceDescriptor) |
| 444 | 444 |
| 445 static const Register FunctionRegister(); | 445 static const Register FunctionRegister(); |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 } // namespace v8 | 891 } // namespace v8 |
| 892 | 892 |
| 893 | 893 |
| 894 #if V8_TARGET_ARCH_ARM64 | 894 #if V8_TARGET_ARCH_ARM64 |
| 895 #include "src/arm64/interface-descriptors-arm64.h" | 895 #include "src/arm64/interface-descriptors-arm64.h" |
| 896 #elif V8_TARGET_ARCH_ARM | 896 #elif V8_TARGET_ARCH_ARM |
| 897 #include "src/arm/interface-descriptors-arm.h" | 897 #include "src/arm/interface-descriptors-arm.h" |
| 898 #endif | 898 #endif |
| 899 | 899 |
| 900 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 900 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |