| 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); |
| 446 static const Register SlotsRegister(); | 446 static const Register SlotsRegister(); |
| 447 }; | 447 }; |
| 448 | 448 |
| 449 class FastNewObjectDescriptor : public CallInterfaceDescriptor { | 449 class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
| 450 public: | 450 public: |
| 451 DEFINE_PARAMETERS(kTarget, kNewTarget) |
| 451 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) | 452 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) |
| 453 static const Register TargetRegister(); |
| 454 static const Register NewTargetRegister(); |
| 452 }; | 455 }; |
| 453 | 456 |
| 454 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 457 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
| 455 public: | 458 public: |
| 456 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 459 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
| 457 }; | 460 }; |
| 458 | 461 |
| 459 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { | 462 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { |
| 460 public: | 463 public: |
| 461 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, | 464 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 } // namespace v8 | 891 } // namespace v8 |
| 889 | 892 |
| 890 | 893 |
| 891 #if V8_TARGET_ARCH_ARM64 | 894 #if V8_TARGET_ARCH_ARM64 |
| 892 #include "src/arm64/interface-descriptors-arm64.h" | 895 #include "src/arm64/interface-descriptors-arm64.h" |
| 893 #elif V8_TARGET_ARCH_ARM | 896 #elif V8_TARGET_ARCH_ARM |
| 894 #include "src/arm/interface-descriptors-arm.h" | 897 #include "src/arm/interface-descriptors-arm.h" |
| 895 #endif | 898 #endif |
| 896 | 899 |
| 897 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 900 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |