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 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class PlatformInterfaceDescriptor; | 14 class PlatformInterfaceDescriptor; |
15 | 15 |
16 #define INTERFACE_DESCRIPTOR_LIST(V) \ | 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ |
17 V(Void) \ | 17 V(Void) \ |
18 V(Load) \ | 18 V(Load) \ |
19 V(Store) \ | 19 V(Store) \ |
20 V(StoreTransition) \ | 20 V(StoreTransition) \ |
21 V(VectorStoreTransition) \ | 21 V(VectorStoreTransition) \ |
22 V(VectorStoreICTrampoline) \ | 22 V(VectorStoreICTrampoline) \ |
23 V(VectorStoreIC) \ | 23 V(VectorStoreIC) \ |
24 V(InstanceOf) \ | 24 V(InstanceOf) \ |
25 V(LoadWithVector) \ | 25 V(LoadWithVector) \ |
26 V(FastNewClosure) \ | 26 V(FastNewClosure) \ |
27 V(FastNewContext) \ | 27 V(FastNewContext) \ |
28 V(FastNewRestParameter) \ | 28 V(FastNewRestParameter) \ |
29 V(FastNewSloppyArguments) \ | 29 V(FastNewStrictArguments) \ |
30 V(FastNewStrictArguments) \ | |
31 V(ToNumber) \ | 30 V(ToNumber) \ |
32 V(ToLength) \ | 31 V(ToLength) \ |
33 V(ToString) \ | 32 V(ToString) \ |
34 V(ToName) \ | 33 V(ToName) \ |
35 V(ToObject) \ | 34 V(ToObject) \ |
36 V(NumberToString) \ | 35 V(NumberToString) \ |
37 V(Typeof) \ | 36 V(Typeof) \ |
38 V(FastCloneRegExp) \ | 37 V(FastCloneRegExp) \ |
39 V(FastCloneShallowArray) \ | 38 V(FastCloneShallowArray) \ |
40 V(FastCloneShallowObject) \ | 39 V(FastCloneShallowObject) \ |
(...skipping 22 matching lines...) Expand all Loading... |
63 V(BinaryOpWithAllocationSite) \ | 62 V(BinaryOpWithAllocationSite) \ |
64 V(StringAdd) \ | 63 V(StringAdd) \ |
65 V(StringCompare) \ | 64 V(StringCompare) \ |
66 V(Keyed) \ | 65 V(Keyed) \ |
67 V(Named) \ | 66 V(Named) \ |
68 V(CallHandler) \ | 67 V(CallHandler) \ |
69 V(ArgumentAdaptor) \ | 68 V(ArgumentAdaptor) \ |
70 V(ApiFunction) \ | 69 V(ApiFunction) \ |
71 V(ApiAccessor) \ | 70 V(ApiAccessor) \ |
72 V(ApiGetter) \ | 71 V(ApiGetter) \ |
| 72 V(ArgumentsAccessNew) \ |
73 V(LoadGlobalViaContext) \ | 73 V(LoadGlobalViaContext) \ |
74 V(StoreGlobalViaContext) \ | 74 V(StoreGlobalViaContext) \ |
75 V(MathPowTagged) \ | 75 V(MathPowTagged) \ |
76 V(MathPowInteger) \ | 76 V(MathPowInteger) \ |
77 V(ContextOnly) \ | 77 V(ContextOnly) \ |
78 V(GrowArrayElements) \ | 78 V(GrowArrayElements) \ |
79 V(InterpreterDispatch) \ | 79 V(InterpreterDispatch) \ |
80 V(InterpreterPushArgsAndCall) \ | 80 V(InterpreterPushArgsAndCall) \ |
81 V(InterpreterPushArgsAndConstruct) \ | 81 V(InterpreterPushArgsAndConstruct) \ |
82 V(InterpreterCEntry) | 82 V(InterpreterCEntry) |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 class FastNewContextDescriptor : public CallInterfaceDescriptor { | 372 class FastNewContextDescriptor : public CallInterfaceDescriptor { |
373 public: | 373 public: |
374 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) | 374 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) |
375 }; | 375 }; |
376 | 376 |
377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
378 public: | 378 public: |
379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
380 }; | 380 }; |
381 | 381 |
382 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { | |
383 public: | |
384 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, | |
385 CallInterfaceDescriptor) | |
386 }; | |
387 | |
388 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { | 382 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { |
389 public: | 383 public: |
390 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, | 384 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, |
391 CallInterfaceDescriptor) | 385 CallInterfaceDescriptor) |
392 }; | 386 }; |
393 | 387 |
394 | 388 |
395 class ToNumberDescriptor : public CallInterfaceDescriptor { | 389 class ToNumberDescriptor : public CallInterfaceDescriptor { |
396 public: | 390 public: |
397 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) | 391 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 | 701 |
708 class ApiGetterDescriptor : public CallInterfaceDescriptor { | 702 class ApiGetterDescriptor : public CallInterfaceDescriptor { |
709 public: | 703 public: |
710 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ApiGetterDescriptor, | 704 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ApiGetterDescriptor, |
711 CallInterfaceDescriptor) | 705 CallInterfaceDescriptor) |
712 | 706 |
713 static const Register function_address(); | 707 static const Register function_address(); |
714 }; | 708 }; |
715 | 709 |
716 | 710 |
| 711 class ArgumentsAccessNewDescriptor : public CallInterfaceDescriptor { |
| 712 public: |
| 713 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor, |
| 714 CallInterfaceDescriptor) |
| 715 |
| 716 static const Register function(); |
| 717 static const Register parameter_count(); |
| 718 static const Register parameter_pointer(); |
| 719 }; |
| 720 |
| 721 |
717 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { | 722 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { |
718 public: | 723 public: |
719 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) | 724 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) |
720 | 725 |
721 static const Register exponent(); | 726 static const Register exponent(); |
722 }; | 727 }; |
723 | 728 |
724 | 729 |
725 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { | 730 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { |
726 public: | 731 public: |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 } // namespace v8 | 796 } // namespace v8 |
792 | 797 |
793 | 798 |
794 #if V8_TARGET_ARCH_ARM64 | 799 #if V8_TARGET_ARCH_ARM64 |
795 #include "src/arm64/interface-descriptors-arm64.h" | 800 #include "src/arm64/interface-descriptors-arm64.h" |
796 #elif V8_TARGET_ARCH_ARM | 801 #elif V8_TARGET_ARCH_ARM |
797 #include "src/arm/interface-descriptors-arm.h" | 802 #include "src/arm/interface-descriptors-arm.h" |
798 #endif | 803 #endif |
799 | 804 |
800 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 805 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |