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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 V(StringCharAt) \ | 80 V(StringCharAt) \ |
81 V(StringCharCodeAt) \ | 81 V(StringCharCodeAt) \ |
82 V(StringCompare) \ | 82 V(StringCompare) \ |
83 V(StringIndexOf) \ | 83 V(StringIndexOf) \ |
84 V(SubString) \ | 84 V(SubString) \ |
85 V(Keyed) \ | 85 V(Keyed) \ |
86 V(Named) \ | 86 V(Named) \ |
87 V(CreateIterResultObject) \ | 87 V(CreateIterResultObject) \ |
88 V(HasProperty) \ | 88 V(HasProperty) \ |
89 V(ForInFilter) \ | 89 V(ForInFilter) \ |
| 90 V(ForInNext) \ |
| 91 V(ForInPrepare) \ |
90 V(GetProperty) \ | 92 V(GetProperty) \ |
91 V(CallHandler) \ | 93 V(CallHandler) \ |
92 V(ArgumentAdaptor) \ | 94 V(ArgumentAdaptor) \ |
93 V(ApiCallback) \ | 95 V(ApiCallback) \ |
94 V(ApiGetter) \ | 96 V(ApiGetter) \ |
95 V(MathPowTagged) \ | 97 V(MathPowTagged) \ |
96 V(MathPowInteger) \ | 98 V(MathPowInteger) \ |
97 V(GrowArrayElements) \ | 99 V(GrowArrayElements) \ |
98 V(NewArgumentsElements) \ | 100 V(NewArgumentsElements) \ |
99 V(InterpreterDispatch) \ | 101 V(InterpreterDispatch) \ |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 kParameterCount) | 526 kParameterCount) |
525 }; | 527 }; |
526 | 528 |
527 class ForInFilterDescriptor final : public CallInterfaceDescriptor { | 529 class ForInFilterDescriptor final : public CallInterfaceDescriptor { |
528 public: | 530 public: |
529 DEFINE_PARAMETERS(kKey, kObject) | 531 DEFINE_PARAMETERS(kKey, kObject) |
530 DECLARE_DEFAULT_DESCRIPTOR(ForInFilterDescriptor, CallInterfaceDescriptor, | 532 DECLARE_DEFAULT_DESCRIPTOR(ForInFilterDescriptor, CallInterfaceDescriptor, |
531 kParameterCount) | 533 kParameterCount) |
532 }; | 534 }; |
533 | 535 |
| 536 class ForInNextDescriptor final : public CallInterfaceDescriptor { |
| 537 public: |
| 538 DEFINE_PARAMETERS(kObject, kCacheArray, kCacheType, kIndex) |
| 539 DECLARE_DEFAULT_DESCRIPTOR(ForInNextDescriptor, CallInterfaceDescriptor, |
| 540 kParameterCount) |
| 541 }; |
| 542 |
| 543 class ForInPrepareDescriptor final : public CallInterfaceDescriptor { |
| 544 public: |
| 545 DEFINE_PARAMETERS(kObject) |
| 546 DECLARE_DEFAULT_DESCRIPTOR(ForInPrepareDescriptor, CallInterfaceDescriptor, |
| 547 kParameterCount) |
| 548 }; |
| 549 |
534 class GetPropertyDescriptor final : public CallInterfaceDescriptor { | 550 class GetPropertyDescriptor final : public CallInterfaceDescriptor { |
535 public: | 551 public: |
536 DEFINE_PARAMETERS(kObject, kKey) | 552 DEFINE_PARAMETERS(kObject, kKey) |
537 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, | 553 DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor, |
538 kParameterCount) | 554 kParameterCount) |
539 }; | 555 }; |
540 | 556 |
541 class TypeofDescriptor : public CallInterfaceDescriptor { | 557 class TypeofDescriptor : public CallInterfaceDescriptor { |
542 public: | 558 public: |
543 DEFINE_PARAMETERS(kObject) | 559 DEFINE_PARAMETERS(kObject) |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 } // namespace v8 | 986 } // namespace v8 |
971 | 987 |
972 | 988 |
973 #if V8_TARGET_ARCH_ARM64 | 989 #if V8_TARGET_ARCH_ARM64 |
974 #include "src/arm64/interface-descriptors-arm64.h" | 990 #include "src/arm64/interface-descriptors-arm64.h" |
975 #elif V8_TARGET_ARCH_ARM | 991 #elif V8_TARGET_ARCH_ARM |
976 #include "src/arm/interface-descriptors-arm.h" | 992 #include "src/arm/interface-descriptors-arm.h" |
977 #endif | 993 #endif |
978 | 994 |
979 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 995 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |