| 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 12 matching lines...) Expand all Loading... |
| 23 V(LoadWithVector) \ | 23 V(LoadWithVector) \ |
| 24 V(LoadGlobal) \ | 24 V(LoadGlobal) \ |
| 25 V(LoadGlobalWithVector) \ | 25 V(LoadGlobalWithVector) \ |
| 26 V(Store) \ | 26 V(Store) \ |
| 27 V(StoreWithVector) \ | 27 V(StoreWithVector) \ |
| 28 V(StoreNamedTransition) \ | 28 V(StoreNamedTransition) \ |
| 29 V(StoreTransition) \ | 29 V(StoreTransition) \ |
| 30 V(VarArgFunction) \ | 30 V(VarArgFunction) \ |
| 31 V(FastNewClosure) \ | 31 V(FastNewClosure) \ |
| 32 V(FastNewFunctionContext) \ | 32 V(FastNewFunctionContext) \ |
| 33 V(FastNewEvalContext) \ |
| 33 V(FastNewObject) \ | 34 V(FastNewObject) \ |
| 34 V(FastNewRestParameter) \ | 35 V(FastNewRestParameter) \ |
| 35 V(FastNewSloppyArguments) \ | 36 V(FastNewSloppyArguments) \ |
| 36 V(FastNewStrictArguments) \ | 37 V(FastNewStrictArguments) \ |
| 37 V(TypeConversion) \ | 38 V(TypeConversion) \ |
| 38 V(Typeof) \ | 39 V(Typeof) \ |
| 39 V(FastCloneRegExp) \ | 40 V(FastCloneRegExp) \ |
| 40 V(FastCloneShallowArray) \ | 41 V(FastCloneShallowArray) \ |
| 41 V(FastCloneShallowObject) \ | 42 V(FastCloneShallowObject) \ |
| 42 V(CreateAllocationSite) \ | 43 V(CreateAllocationSite) \ |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { | 409 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
| 409 public: | 410 public: |
| 410 DEFINE_PARAMETERS(kFunction, kSlots) | 411 DEFINE_PARAMETERS(kFunction, kSlots) |
| 411 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, | 412 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewFunctionContextDescriptor, |
| 412 CallInterfaceDescriptor) | 413 CallInterfaceDescriptor) |
| 413 | 414 |
| 414 static const Register FunctionRegister(); | 415 static const Register FunctionRegister(); |
| 415 static const Register SlotsRegister(); | 416 static const Register SlotsRegister(); |
| 416 }; | 417 }; |
| 417 | 418 |
| 419 class FastNewEvalContextDescriptor : public CallInterfaceDescriptor { |
| 420 public: |
| 421 DEFINE_PARAMETERS(kFunction, kSlots) |
| 422 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(FastNewEvalContextDescriptor, |
| 423 CallInterfaceDescriptor) |
| 424 |
| 425 static const Register FunctionRegister(); |
| 426 static const Register SlotsRegister(); |
| 427 }; |
| 428 |
| 418 class FastNewObjectDescriptor : public CallInterfaceDescriptor { | 429 class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
| 419 public: | 430 public: |
| 420 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) | 431 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) |
| 421 }; | 432 }; |
| 422 | 433 |
| 423 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 434 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
| 424 public: | 435 public: |
| 425 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 436 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
| 426 }; | 437 }; |
| 427 | 438 |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 } // namespace v8 | 838 } // namespace v8 |
| 828 | 839 |
| 829 | 840 |
| 830 #if V8_TARGET_ARCH_ARM64 | 841 #if V8_TARGET_ARCH_ARM64 |
| 831 #include "src/arm64/interface-descriptors-arm64.h" | 842 #include "src/arm64/interface-descriptors-arm64.h" |
| 832 #elif V8_TARGET_ARCH_ARM | 843 #elif V8_TARGET_ARCH_ARM |
| 833 #include "src/arm/interface-descriptors-arm.h" | 844 #include "src/arm/interface-descriptors-arm.h" |
| 834 #endif | 845 #endif |
| 835 | 846 |
| 836 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 847 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |