| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 V(SubString) \ | 75 V(SubString) \ |
| 76 V(Keyed) \ | 76 V(Keyed) \ |
| 77 V(Named) \ | 77 V(Named) \ |
| 78 V(HasProperty) \ | 78 V(HasProperty) \ |
| 79 V(ForInFilter) \ | 79 V(ForInFilter) \ |
| 80 V(GetProperty) \ | 80 V(GetProperty) \ |
| 81 V(CallHandler) \ | 81 V(CallHandler) \ |
| 82 V(ArgumentAdaptor) \ | 82 V(ArgumentAdaptor) \ |
| 83 V(ApiCallback) \ | 83 V(ApiCallback) \ |
| 84 V(ApiGetter) \ | 84 V(ApiGetter) \ |
| 85 V(StoreGlobalViaContext) \ | |
| 86 V(MathPowTagged) \ | 85 V(MathPowTagged) \ |
| 87 V(MathPowInteger) \ | 86 V(MathPowInteger) \ |
| 88 V(GrowArrayElements) \ | 87 V(GrowArrayElements) \ |
| 89 V(InterpreterDispatch) \ | 88 V(InterpreterDispatch) \ |
| 90 V(InterpreterPushArgsAndCall) \ | 89 V(InterpreterPushArgsAndCall) \ |
| 91 V(InterpreterPushArgsAndConstruct) \ | 90 V(InterpreterPushArgsAndConstruct) \ |
| 92 V(InterpreterPushArgsAndConstructArray) \ | 91 V(InterpreterPushArgsAndConstructArray) \ |
| 93 V(InterpreterCEntry) \ | 92 V(InterpreterCEntry) \ |
| 94 V(ResumeGenerator) | 93 V(ResumeGenerator) |
| 95 | 94 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, | 569 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, |
| 571 CallInterfaceDescriptor) | 570 CallInterfaceDescriptor) |
| 572 }; | 571 }; |
| 573 | 572 |
| 574 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { | 573 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { |
| 575 public: | 574 public: |
| 576 DEFINE_PARAMETERS(kLength, kIndex, kInput) | 575 DEFINE_PARAMETERS(kLength, kIndex, kInput) |
| 577 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) | 576 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) |
| 578 }; | 577 }; |
| 579 | 578 |
| 580 | |
| 581 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { | |
| 582 public: | |
| 583 DEFINE_PARAMETERS(kSlot, kValue) | |
| 584 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, | |
| 585 CallInterfaceDescriptor) | |
| 586 | |
| 587 static const Register SlotRegister(); | |
| 588 static const Register ValueRegister(); | |
| 589 }; | |
| 590 | |
| 591 class CopyFastSmiOrObjectElementsDescriptor : public CallInterfaceDescriptor { | 579 class CopyFastSmiOrObjectElementsDescriptor : public CallInterfaceDescriptor { |
| 592 public: | 580 public: |
| 593 DEFINE_PARAMETERS(kObject) | 581 DEFINE_PARAMETERS(kObject) |
| 594 DECLARE_DEFAULT_DESCRIPTOR(CopyFastSmiOrObjectElementsDescriptor, | 582 DECLARE_DEFAULT_DESCRIPTOR(CopyFastSmiOrObjectElementsDescriptor, |
| 595 CallInterfaceDescriptor, kParameterCount) | 583 CallInterfaceDescriptor, kParameterCount) |
| 596 }; | 584 }; |
| 597 | 585 |
| 598 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { | 586 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { |
| 599 public: | 587 public: |
| 600 DEFINE_PARAMETERS(kObject, kMap) | 588 DEFINE_PARAMETERS(kObject, kMap) |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 } // namespace v8 | 823 } // namespace v8 |
| 836 | 824 |
| 837 | 825 |
| 838 #if V8_TARGET_ARCH_ARM64 | 826 #if V8_TARGET_ARCH_ARM64 |
| 839 #include "src/arm64/interface-descriptors-arm64.h" | 827 #include "src/arm64/interface-descriptors-arm64.h" |
| 840 #elif V8_TARGET_ARCH_ARM | 828 #elif V8_TARGET_ARCH_ARM |
| 841 #include "src/arm/interface-descriptors-arm.h" | 829 #include "src/arm/interface-descriptors-arm.h" |
| 842 #endif | 830 #endif |
| 843 | 831 |
| 844 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 832 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |