| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 V(ArrayNArgumentsConstructor) \ | 63 V(ArrayNArgumentsConstructor) \ |
| 64 V(Compare) \ | 64 V(Compare) \ |
| 65 V(BinaryOp) \ | 65 V(BinaryOp) \ |
| 66 V(BinaryOpWithAllocationSite) \ | 66 V(BinaryOpWithAllocationSite) \ |
| 67 V(CountOp) \ | 67 V(CountOp) \ |
| 68 V(StringAdd) \ | 68 V(StringAdd) \ |
| 69 V(StringCompare) \ | 69 V(StringCompare) \ |
| 70 V(Keyed) \ | 70 V(Keyed) \ |
| 71 V(Named) \ | 71 V(Named) \ |
| 72 V(HasProperty) \ | 72 V(HasProperty) \ |
| 73 V(GetProperty) \ |
| 73 V(CallHandler) \ | 74 V(CallHandler) \ |
| 74 V(ArgumentAdaptor) \ | 75 V(ArgumentAdaptor) \ |
| 75 V(ApiCallbackWith0Args) \ | 76 V(ApiCallbackWith0Args) \ |
| 76 V(ApiCallbackWith1Args) \ | 77 V(ApiCallbackWith1Args) \ |
| 77 V(ApiCallbackWith2Args) \ | 78 V(ApiCallbackWith2Args) \ |
| 78 V(ApiCallbackWith3Args) \ | 79 V(ApiCallbackWith3Args) \ |
| 79 V(ApiCallbackWith4Args) \ | 80 V(ApiCallbackWith4Args) \ |
| 80 V(ApiCallbackWith5Args) \ | 81 V(ApiCallbackWith5Args) \ |
| 81 V(ApiCallbackWith6Args) \ | 82 V(ApiCallbackWith6Args) \ |
| 82 V(ApiCallbackWith7Args) \ | 83 V(ApiCallbackWith7Args) \ |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 static const Register ArgumentRegister(); | 453 static const Register ArgumentRegister(); |
| 453 }; | 454 }; |
| 454 | 455 |
| 455 class HasPropertyDescriptor final : public CallInterfaceDescriptor { | 456 class HasPropertyDescriptor final : public CallInterfaceDescriptor { |
| 456 public: | 457 public: |
| 457 enum ParameterIndices { kKeyIndex, kObjectIndex }; | 458 enum ParameterIndices { kKeyIndex, kObjectIndex }; |
| 458 | 459 |
| 459 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) | 460 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, 2) |
| 460 }; | 461 }; |
| 461 | 462 |
| 463 class GetPropertyDescriptor final : public CallInterfaceDescriptor { |
| 464 public: |
| 465 enum ParameterIndices { kObjectIndex, kKeyIndex }; |
| 466 |
| 467 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, 2) |
| 468 }; |
| 469 |
| 462 class TypeofDescriptor : public CallInterfaceDescriptor { | 470 class TypeofDescriptor : public CallInterfaceDescriptor { |
| 463 public: | 471 public: |
| 464 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) | 472 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
| 465 }; | 473 }; |
| 466 | 474 |
| 467 | 475 |
| 468 class FastCloneRegExpDescriptor : public CallInterfaceDescriptor { | 476 class FastCloneRegExpDescriptor : public CallInterfaceDescriptor { |
| 469 public: | 477 public: |
| 470 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor, | 478 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastCloneRegExpDescriptor, |
| 471 CallInterfaceDescriptor) | 479 CallInterfaceDescriptor) |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 } // namespace v8 | 870 } // namespace v8 |
| 863 | 871 |
| 864 | 872 |
| 865 #if V8_TARGET_ARCH_ARM64 | 873 #if V8_TARGET_ARCH_ARM64 |
| 866 #include "src/arm64/interface-descriptors-arm64.h" | 874 #include "src/arm64/interface-descriptors-arm64.h" |
| 867 #elif V8_TARGET_ARCH_ARM | 875 #elif V8_TARGET_ARCH_ARM |
| 868 #include "src/arm/interface-descriptors-arm.h" | 876 #include "src/arm/interface-descriptors-arm.h" |
| 869 #endif | 877 #endif |
| 870 | 878 |
| 871 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 879 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |