| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 V(AllocateFloat32x4) \ | 51 V(AllocateFloat32x4) \ |
| 52 V(AllocateInt32x4) \ | 52 V(AllocateInt32x4) \ |
| 53 V(AllocateUint32x4) \ | 53 V(AllocateUint32x4) \ |
| 54 V(AllocateBool32x4) \ | 54 V(AllocateBool32x4) \ |
| 55 V(AllocateInt16x8) \ | 55 V(AllocateInt16x8) \ |
| 56 V(AllocateUint16x8) \ | 56 V(AllocateUint16x8) \ |
| 57 V(AllocateBool16x8) \ | 57 V(AllocateBool16x8) \ |
| 58 V(AllocateInt8x16) \ | 58 V(AllocateInt8x16) \ |
| 59 V(AllocateUint8x16) \ | 59 V(AllocateUint8x16) \ |
| 60 V(AllocateBool8x16) \ | 60 V(AllocateBool8x16) \ |
| 61 V(ArrayNoArgumentConstructor) \ |
| 61 V(ArrayConstructorConstantArgCount) \ | 62 V(ArrayConstructorConstantArgCount) \ |
| 62 V(ArrayConstructor) \ | 63 V(ArrayConstructor) \ |
| 63 V(InternalArrayConstructorConstantArgCount) \ | 64 V(InternalArrayConstructorConstantArgCount) \ |
| 64 V(InternalArrayConstructor) \ | 65 V(InternalArrayConstructor) \ |
| 65 V(Compare) \ | 66 V(Compare) \ |
| 66 V(BinaryOp) \ | 67 V(BinaryOp) \ |
| 67 V(BinaryOpWithAllocationSite) \ | 68 V(BinaryOpWithAllocationSite) \ |
| 68 V(CountOp) \ | 69 V(CountOp) \ |
| 69 V(StringAdd) \ | 70 V(StringAdd) \ |
| 70 V(StringCompare) \ | 71 V(StringCompare) \ |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 }; | 571 }; |
| 571 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 572 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 572 #undef SIMD128_ALLOC_DESC | 573 #undef SIMD128_ALLOC_DESC |
| 573 | 574 |
| 574 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { | 575 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { |
| 575 public: | 576 public: |
| 576 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, | 577 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, |
| 577 CallInterfaceDescriptor) | 578 CallInterfaceDescriptor) |
| 578 }; | 579 }; |
| 579 | 580 |
| 581 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { |
| 582 public: |
| 583 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
| 584 ArrayNoArgumentConstructorDescriptor, CallInterfaceDescriptor) |
| 585 enum ParameterIndices { |
| 586 kFunctionIndex, |
| 587 kAllocationSiteIndex, |
| 588 kArgumentCountIndex, |
| 589 kContextIndex |
| 590 }; |
| 591 }; |
| 580 | 592 |
| 581 class ArrayConstructorConstantArgCountDescriptor | 593 class ArrayConstructorConstantArgCountDescriptor |
| 582 : public CallInterfaceDescriptor { | 594 : public CallInterfaceDescriptor { |
| 583 public: | 595 public: |
| 584 DECLARE_DESCRIPTOR(ArrayConstructorConstantArgCountDescriptor, | 596 DECLARE_DESCRIPTOR(ArrayConstructorConstantArgCountDescriptor, |
| 585 CallInterfaceDescriptor) | 597 CallInterfaceDescriptor) |
| 586 }; | 598 }; |
| 587 | 599 |
| 588 | 600 |
| 589 class ArrayConstructorDescriptor : public CallInterfaceDescriptor { | 601 class ArrayConstructorDescriptor : public CallInterfaceDescriptor { |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 } // namespace v8 | 852 } // namespace v8 |
| 841 | 853 |
| 842 | 854 |
| 843 #if V8_TARGET_ARCH_ARM64 | 855 #if V8_TARGET_ARCH_ARM64 |
| 844 #include "src/arm64/interface-descriptors-arm64.h" | 856 #include "src/arm64/interface-descriptors-arm64.h" |
| 845 #elif V8_TARGET_ARCH_ARM | 857 #elif V8_TARGET_ARCH_ARM |
| 846 #include "src/arm/interface-descriptors-arm.h" | 858 #include "src/arm/interface-descriptors-arm.h" |
| 847 #endif | 859 #endif |
| 848 | 860 |
| 849 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 861 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |