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 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 V(ArrayNArgumentsConstructor) \ | 71 V(ArrayNArgumentsConstructor) \ |
72 V(Compare) \ | 72 V(Compare) \ |
73 V(BinaryOp) \ | 73 V(BinaryOp) \ |
74 V(BinaryOpWithAllocationSite) \ | 74 V(BinaryOpWithAllocationSite) \ |
75 V(CountOp) \ | 75 V(CountOp) \ |
76 V(StringAdd) \ | 76 V(StringAdd) \ |
77 V(StringCompare) \ | 77 V(StringCompare) \ |
78 V(Keyed) \ | 78 V(Keyed) \ |
79 V(Named) \ | 79 V(Named) \ |
80 V(HasProperty) \ | 80 V(HasProperty) \ |
| 81 V(GetProperty) \ |
81 V(CallHandler) \ | 82 V(CallHandler) \ |
82 V(ArgumentAdaptor) \ | 83 V(ArgumentAdaptor) \ |
83 V(ApiCallbackWith0Args) \ | 84 V(ApiCallbackWith0Args) \ |
84 V(ApiCallbackWith1Args) \ | 85 V(ApiCallbackWith1Args) \ |
85 V(ApiCallbackWith2Args) \ | 86 V(ApiCallbackWith2Args) \ |
86 V(ApiCallbackWith3Args) \ | 87 V(ApiCallbackWith3Args) \ |
87 V(ApiCallbackWith4Args) \ | 88 V(ApiCallbackWith4Args) \ |
88 V(ApiCallbackWith5Args) \ | 89 V(ApiCallbackWith5Args) \ |
89 V(ApiCallbackWith6Args) \ | 90 V(ApiCallbackWith6Args) \ |
90 V(ApiCallbackWith7Args) \ | 91 V(ApiCallbackWith7Args) \ |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 static const Register ArgumentRegister(); | 538 static const Register ArgumentRegister(); |
538 }; | 539 }; |
539 | 540 |
540 class HasPropertyDescriptor final : public CallInterfaceDescriptor { | 541 class HasPropertyDescriptor final : public CallInterfaceDescriptor { |
541 public: | 542 public: |
542 enum ParameterIndices { kKeyIndex, kObjectIndex }; | 543 enum ParameterIndices { kKeyIndex, kObjectIndex }; |
543 | 544 |
544 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) | 545 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) |
545 }; | 546 }; |
546 | 547 |
| 548 class GetPropertyDescriptor final : public CallInterfaceDescriptor { |
| 549 public: |
| 550 enum ParameterIndices { kObjectIndex, kKeyIndex }; |
| 551 |
| 552 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, 2) |
| 553 }; |
| 554 |
547 class TypeofDescriptor : public CallInterfaceDescriptor { | 555 class TypeofDescriptor : public CallInterfaceDescriptor { |
548 public: | 556 public: |
549 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) | 557 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
550 }; | 558 }; |
551 | 559 |
552 | 560 |
553 class FastCloneRegExpDescriptor : public CallInterfaceDescriptor { | 561 class FastCloneRegExpDescriptor : public CallInterfaceDescriptor { |
554 public: | 562 public: |
555 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor, | 563 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor, |
556 CallInterfaceDescriptor) | 564 CallInterfaceDescriptor) |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 } // namespace v8 | 947 } // namespace v8 |
940 | 948 |
941 | 949 |
942 #if V8_TARGET_ARCH_ARM64 | 950 #if V8_TARGET_ARCH_ARM64 |
943 #include "src/arm64/interface-descriptors-arm64.h" | 951 #include "src/arm64/interface-descriptors-arm64.h" |
944 #elif V8_TARGET_ARCH_ARM | 952 #elif V8_TARGET_ARCH_ARM |
945 #include "src/arm/interface-descriptors-arm.h" | 953 #include "src/arm/interface-descriptors-arm.h" |
946 #endif | 954 #endif |
947 | 955 |
948 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 956 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |