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 21 matching lines...) Expand all Loading... |
32 V(Typeof) \ | 32 V(Typeof) \ |
33 V(FastCloneShallowArray) \ | 33 V(FastCloneShallowArray) \ |
34 V(FastCloneShallowObject) \ | 34 V(FastCloneShallowObject) \ |
35 V(CreateAllocationSite) \ | 35 V(CreateAllocationSite) \ |
36 V(CreateWeakCell) \ | 36 V(CreateWeakCell) \ |
37 V(CallFunction) \ | 37 V(CallFunction) \ |
38 V(CallFunctionWithFeedback) \ | 38 V(CallFunctionWithFeedback) \ |
39 V(CallFunctionWithFeedbackAndVector) \ | 39 V(CallFunctionWithFeedbackAndVector) \ |
40 V(CallConstruct) \ | 40 V(CallConstruct) \ |
41 V(CallTrampoline) \ | 41 V(CallTrampoline) \ |
| 42 V(ConstructTrampoline) \ |
42 V(RegExpConstructResult) \ | 43 V(RegExpConstructResult) \ |
43 V(TransitionElementsKind) \ | 44 V(TransitionElementsKind) \ |
44 V(AllocateHeapNumber) \ | 45 V(AllocateHeapNumber) \ |
45 V(AllocateMutableHeapNumber) \ | 46 V(AllocateMutableHeapNumber) \ |
46 V(AllocateInNewSpace) \ | 47 V(AllocateInNewSpace) \ |
47 V(ArrayConstructorConstantArgCount) \ | 48 V(ArrayConstructorConstantArgCount) \ |
48 V(ArrayConstructor) \ | 49 V(ArrayConstructor) \ |
49 V(InternalArrayConstructorConstantArgCount) \ | 50 V(InternalArrayConstructorConstantArgCount) \ |
50 V(InternalArrayConstructor) \ | 51 V(InternalArrayConstructor) \ |
51 V(Compare) \ | 52 V(Compare) \ |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 }; | 452 }; |
452 | 453 |
453 | 454 |
454 class CallTrampolineDescriptor : public CallInterfaceDescriptor { | 455 class CallTrampolineDescriptor : public CallInterfaceDescriptor { |
455 public: | 456 public: |
456 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, | 457 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, |
457 CallInterfaceDescriptor) | 458 CallInterfaceDescriptor) |
458 }; | 459 }; |
459 | 460 |
460 | 461 |
| 462 class ConstructTrampolineDescriptor : public CallInterfaceDescriptor { |
| 463 public: |
| 464 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ConstructTrampolineDescriptor, |
| 465 CallInterfaceDescriptor) |
| 466 }; |
| 467 |
| 468 |
461 class CallFunctionDescriptor : public CallInterfaceDescriptor { | 469 class CallFunctionDescriptor : public CallInterfaceDescriptor { |
462 public: | 470 public: |
463 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) | 471 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) |
464 }; | 472 }; |
465 | 473 |
466 | 474 |
467 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { | 475 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { |
468 public: | 476 public: |
469 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 477 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
470 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) | 478 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 } // namespace v8 | 778 } // namespace v8 |
771 | 779 |
772 | 780 |
773 #if V8_TARGET_ARCH_ARM64 | 781 #if V8_TARGET_ARCH_ARM64 |
774 #include "src/arm64/interface-descriptors-arm64.h" | 782 #include "src/arm64/interface-descriptors-arm64.h" |
775 #elif V8_TARGET_ARCH_ARM | 783 #elif V8_TARGET_ARCH_ARM |
776 #include "src/arm/interface-descriptors-arm.h" | 784 #include "src/arm/interface-descriptors-arm.h" |
777 #endif | 785 #endif |
778 | 786 |
779 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 787 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |