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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, | 409 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, |
410 LoadGlobalDescriptor) | 410 LoadGlobalDescriptor) |
411 | 411 |
412 static const Register VectorRegister() { | 412 static const Register VectorRegister() { |
413 return LoadWithVectorDescriptor::VectorRegister(); | 413 return LoadWithVectorDescriptor::VectorRegister(); |
414 } | 414 } |
415 }; | 415 }; |
416 | 416 |
417 class FastNewClosureDescriptor : public CallInterfaceDescriptor { | 417 class FastNewClosureDescriptor : public CallInterfaceDescriptor { |
418 public: | 418 public: |
| 419 DEFINE_PARAMETERS(kSharedFunctionInfo) |
419 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) | 420 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
420 }; | 421 }; |
421 | 422 |
422 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { | 423 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
423 public: | 424 public: |
424 DEFINE_PARAMETERS(kFunction, kSlots) | 425 DEFINE_PARAMETERS(kFunction, kSlots) |
425 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, | 426 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, |
426 CallInterfaceDescriptor) | 427 CallInterfaceDescriptor) |
427 | 428 |
428 static const Register FunctionRegister(); | 429 static const Register FunctionRegister(); |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 } // namespace v8 | 851 } // namespace v8 |
851 | 852 |
852 | 853 |
853 #if V8_TARGET_ARCH_ARM64 | 854 #if V8_TARGET_ARCH_ARM64 |
854 #include "src/arm64/interface-descriptors-arm64.h" | 855 #include "src/arm64/interface-descriptors-arm64.h" |
855 #elif V8_TARGET_ARCH_ARM | 856 #elif V8_TARGET_ARCH_ARM |
856 #include "src/arm/interface-descriptors-arm.h" | 857 #include "src/arm/interface-descriptors-arm.h" |
857 #endif | 858 #endif |
858 | 859 |
859 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 860 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |