| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 V(BinaryOpWithAllocationSite) \ | 73 V(BinaryOpWithAllocationSite) \ |
| 74 V(BinaryOpWithVector) \ | 74 V(BinaryOpWithVector) \ |
| 75 V(CountOp) \ | 75 V(CountOp) \ |
| 76 V(StringAdd) \ | 76 V(StringAdd) \ |
| 77 V(StringCharAt) \ | 77 V(StringCharAt) \ |
| 78 V(StringCharCodeAt) \ | 78 V(StringCharCodeAt) \ |
| 79 V(StringCompare) \ | 79 V(StringCompare) \ |
| 80 V(SubString) \ | 80 V(SubString) \ |
| 81 V(Keyed) \ | 81 V(Keyed) \ |
| 82 V(Named) \ | 82 V(Named) \ |
| 83 V(CreateIterResultObject) \ |
| 83 V(HasProperty) \ | 84 V(HasProperty) \ |
| 84 V(ForInFilter) \ | 85 V(ForInFilter) \ |
| 85 V(GetProperty) \ | 86 V(GetProperty) \ |
| 86 V(CallHandler) \ | 87 V(CallHandler) \ |
| 87 V(ArgumentAdaptor) \ | 88 V(ArgumentAdaptor) \ |
| 88 V(ApiCallback) \ | 89 V(ApiCallback) \ |
| 89 V(ApiGetter) \ | 90 V(ApiGetter) \ |
| 90 V(MathPowTagged) \ | 91 V(MathPowTagged) \ |
| 91 V(MathPowInteger) \ | 92 V(MathPowInteger) \ |
| 92 V(GrowArrayElements) \ | 93 V(GrowArrayElements) \ |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 }; | 473 }; |
| 473 | 474 |
| 474 class TypeConversionDescriptor final : public CallInterfaceDescriptor { | 475 class TypeConversionDescriptor final : public CallInterfaceDescriptor { |
| 475 public: | 476 public: |
| 476 DEFINE_PARAMETERS(kArgument) | 477 DEFINE_PARAMETERS(kArgument) |
| 477 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) | 478 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) |
| 478 | 479 |
| 479 static const Register ArgumentRegister(); | 480 static const Register ArgumentRegister(); |
| 480 }; | 481 }; |
| 481 | 482 |
| 483 class CreateIterResultObjectDescriptor final : public CallInterfaceDescriptor { |
| 484 public: |
| 485 DEFINE_PARAMETERS(kValue, kDone) |
| 486 DECLARE_DEFAULT_DESCRIPTOR(CreateIterResultObjectDescriptor, |
| 487 CallInterfaceDescriptor, kParameterCount) |
| 488 }; |
| 489 |
| 482 class HasPropertyDescriptor final : public CallInterfaceDescriptor { | 490 class HasPropertyDescriptor final : public CallInterfaceDescriptor { |
| 483 public: | 491 public: |
| 484 DEFINE_PARAMETERS(kKey, kObject) | 492 DEFINE_PARAMETERS(kKey, kObject) |
| 485 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, | 493 DECLARE_DEFAULT_DESCRIPTOR(HasPropertyDescriptor, CallInterfaceDescriptor, |
| 486 kParameterCount) | 494 kParameterCount) |
| 487 }; | 495 }; |
| 488 | 496 |
| 489 class ForInFilterDescriptor final : public CallInterfaceDescriptor { | 497 class ForInFilterDescriptor final : public CallInterfaceDescriptor { |
| 490 public: | 498 public: |
| 491 DEFINE_PARAMETERS(kKey, kObject) | 499 DEFINE_PARAMETERS(kKey, kObject) |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 } // namespace v8 | 899 } // namespace v8 |
| 892 | 900 |
| 893 | 901 |
| 894 #if V8_TARGET_ARCH_ARM64 | 902 #if V8_TARGET_ARCH_ARM64 |
| 895 #include "src/arm64/interface-descriptors-arm64.h" | 903 #include "src/arm64/interface-descriptors-arm64.h" |
| 896 #elif V8_TARGET_ARCH_ARM | 904 #elif V8_TARGET_ARCH_ARM |
| 897 #include "src/arm/interface-descriptors-arm.h" | 905 #include "src/arm/interface-descriptors-arm.h" |
| 898 #endif | 906 #endif |
| 899 | 907 |
| 900 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 908 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |