| 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 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 class PlatformInterfaceDescriptor; | 14 class PlatformInterfaceDescriptor; |
| 15 | 15 |
| 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ | 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ |
| 17 V(Void) \ | 17 V(Void) \ |
| 18 V(Load) \ | 18 V(Load) \ |
| 19 V(Store) \ | 19 V(Store) \ |
| 20 V(StoreTransition) \ | 20 V(StoreTransition) \ |
| 21 V(VectorStoreTransition) \ | 21 V(VectorStoreTransition) \ |
| 22 V(VectorStoreICTrampoline) \ | 22 V(VectorStoreICTrampoline) \ |
| 23 V(VectorStoreIC) \ | 23 V(VectorStoreIC) \ |
| 24 V(InstanceOf) \ | 24 V(InstanceOf) \ |
| 25 V(LoadWithVector) \ | 25 V(LoadWithVector) \ |
| 26 V(FastArrayPush) \ |
| 26 V(FastNewClosure) \ | 27 V(FastNewClosure) \ |
| 27 V(FastNewContext) \ | 28 V(FastNewContext) \ |
| 28 V(FastNewObject) \ | 29 V(FastNewObject) \ |
| 29 V(FastNewRestParameter) \ | 30 V(FastNewRestParameter) \ |
| 30 V(FastNewSloppyArguments) \ | 31 V(FastNewSloppyArguments) \ |
| 31 V(FastNewStrictArguments) \ | 32 V(FastNewStrictArguments) \ |
| 32 V(ToNumber) \ | 33 V(ToNumber) \ |
| 33 V(ToLength) \ | 34 V(ToLength) \ |
| 34 V(ToString) \ | 35 V(ToString) \ |
| 35 V(ToName) \ | 36 V(ToName) \ |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 | 805 |
| 805 static const Register exponent(); | 806 static const Register exponent(); |
| 806 }; | 807 }; |
| 807 | 808 |
| 808 | 809 |
| 809 class ContextOnlyDescriptor : public CallInterfaceDescriptor { | 810 class ContextOnlyDescriptor : public CallInterfaceDescriptor { |
| 810 public: | 811 public: |
| 811 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) | 812 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) |
| 812 }; | 813 }; |
| 813 | 814 |
| 815 class FastArrayPushDescriptor : public CallInterfaceDescriptor { |
| 816 public: |
| 817 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastArrayPushDescriptor, |
| 818 CallInterfaceDescriptor) |
| 819 }; |
| 814 | 820 |
| 815 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { | 821 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { |
| 816 public: | 822 public: |
| 817 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) | 823 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) |
| 818 | 824 |
| 819 enum RegisterInfo { kObjectIndex, kKeyIndex }; | 825 enum RegisterInfo { kObjectIndex, kKeyIndex }; |
| 820 static const Register ObjectRegister(); | 826 static const Register ObjectRegister(); |
| 821 static const Register KeyRegister(); | 827 static const Register KeyRegister(); |
| 822 }; | 828 }; |
| 823 | 829 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 } // namespace v8 | 875 } // namespace v8 |
| 870 | 876 |
| 871 | 877 |
| 872 #if V8_TARGET_ARCH_ARM64 | 878 #if V8_TARGET_ARCH_ARM64 |
| 873 #include "src/arm64/interface-descriptors-arm64.h" | 879 #include "src/arm64/interface-descriptors-arm64.h" |
| 874 #elif V8_TARGET_ARCH_ARM | 880 #elif V8_TARGET_ARCH_ARM |
| 875 #include "src/arm/interface-descriptors-arm.h" | 881 #include "src/arm/interface-descriptors-arm.h" |
| 876 #endif | 882 #endif |
| 877 | 883 |
| 878 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 884 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |