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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, | 410 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor, |
411 LoadGlobalDescriptor) | 411 LoadGlobalDescriptor) |
412 | 412 |
413 static const Register VectorRegister() { | 413 static const Register VectorRegister() { |
414 return LoadWithVectorDescriptor::VectorRegister(); | 414 return LoadWithVectorDescriptor::VectorRegister(); |
415 } | 415 } |
416 }; | 416 }; |
417 | 417 |
418 class FastNewClosureDescriptor : public CallInterfaceDescriptor { | 418 class FastNewClosureDescriptor : public CallInterfaceDescriptor { |
419 public: | 419 public: |
420 DEFINE_PARAMETERS(kSharedFunctionInfo, kVector, kSlot) | 420 DEFINE_PARAMETERS(kSharedFunctionInfo) |
421 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) | 421 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
422 }; | 422 }; |
423 | 423 |
424 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { | 424 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
425 public: | 425 public: |
426 DEFINE_PARAMETERS(kFunction, kSlots) | 426 DEFINE_PARAMETERS(kFunction, kSlots) |
427 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, | 427 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, |
428 CallInterfaceDescriptor) | 428 CallInterfaceDescriptor) |
429 | 429 |
430 static const Register FunctionRegister(); | 430 static const Register FunctionRegister(); |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 } // namespace v8 | 860 } // namespace v8 |
861 | 861 |
862 | 862 |
863 #if V8_TARGET_ARCH_ARM64 | 863 #if V8_TARGET_ARCH_ARM64 |
864 #include "src/arm64/interface-descriptors-arm64.h" | 864 #include "src/arm64/interface-descriptors-arm64.h" |
865 #elif V8_TARGET_ARCH_ARM | 865 #elif V8_TARGET_ARCH_ARM |
866 #include "src/arm/interface-descriptors-arm.h" | 866 #include "src/arm/interface-descriptors-arm.h" |
867 #endif | 867 #endif |
868 | 868 |
869 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 869 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |