| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 V(ArrayNArgumentsConstructor) \ | 70 V(ArrayNArgumentsConstructor) \ |
| 71 V(Compare) \ | 71 V(Compare) \ |
| 72 V(BinaryOp) \ | 72 V(BinaryOp) \ |
| 73 V(BinaryOpWithAllocationSite) \ | 73 V(BinaryOpWithAllocationSite) \ |
| 74 V(CountOp) \ | 74 V(CountOp) \ |
| 75 V(StringAdd) \ | 75 V(StringAdd) \ |
| 76 V(StringCompare) \ | 76 V(StringCompare) \ |
| 77 V(Keyed) \ | 77 V(Keyed) \ |
| 78 V(Named) \ | 78 V(Named) \ |
| 79 V(HasProperty) \ | 79 V(HasProperty) \ |
| 80 V(ForInFilter) \ |
| 80 V(GetProperty) \ | 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) \ |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 static const Register ArgumentRegister(); | 524 static const Register ArgumentRegister(); |
| 524 }; | 525 }; |
| 525 | 526 |
| 526 class HasPropertyDescriptor final : public CallInterfaceDescriptor { | 527 class HasPropertyDescriptor final : public CallInterfaceDescriptor { |
| 527 public: | 528 public: |
| 528 enum ParameterIndices { kKeyIndex, kObjectIndex }; | 529 enum ParameterIndices { kKeyIndex, kObjectIndex }; |
| 529 | 530 |
| 530 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) | 531 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) |
| 531 }; | 532 }; |
| 532 | 533 |
| 534 class ForInFilterDescriptor final : public CallInterfaceDescriptor { |
| 535 public: |
| 536 enum ParameterIndices { kKeyIndex, kObjectIndex }; |
| 537 |
| 538 DECLARE_DEFAULT_DESCRIPTOR(ForInFilterDescriptor, CallInterfaceDescriptor, 2) |
| 539 }; |
| 540 |
| 533 class GetPropertyDescriptor final : public CallInterfaceDescriptor { | 541 class GetPropertyDescriptor final : public CallInterfaceDescriptor { |
| 534 public: | 542 public: |
| 535 enum ParameterIndices { kObjectIndex, kKeyIndex }; | 543 enum ParameterIndices { kObjectIndex, kKeyIndex }; |
| 536 | 544 |
| 537 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, 2) | 545 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, 2) |
| 538 }; | 546 }; |
| 539 | 547 |
| 540 class TypeofDescriptor : public CallInterfaceDescriptor { | 548 class TypeofDescriptor : public CallInterfaceDescriptor { |
| 541 public: | 549 public: |
| 542 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) | 550 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 } // namespace v8 | 940 } // namespace v8 |
| 933 | 941 |
| 934 | 942 |
| 935 #if V8_TARGET_ARCH_ARM64 | 943 #if V8_TARGET_ARCH_ARM64 |
| 936 #include "src/arm64/interface-descriptors-arm64.h" | 944 #include "src/arm64/interface-descriptors-arm64.h" |
| 937 #elif V8_TARGET_ARCH_ARM | 945 #elif V8_TARGET_ARCH_ARM |
| 938 #include "src/arm/interface-descriptors-arm.h" | 946 #include "src/arm/interface-descriptors-arm.h" |
| 939 #endif | 947 #endif |
| 940 | 948 |
| 941 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 949 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |