| 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 15 matching lines...) Expand all Loading... |
| 26 V(LoadGlobal) \ | 26 V(LoadGlobal) \ |
| 27 V(LoadGlobalWithVector) \ | 27 V(LoadGlobalWithVector) \ |
| 28 V(Store) \ | 28 V(Store) \ |
| 29 V(StoreWithVector) \ | 29 V(StoreWithVector) \ |
| 30 V(StoreNamedTransition) \ | 30 V(StoreNamedTransition) \ |
| 31 V(StoreTransition) \ | 31 V(StoreTransition) \ |
| 32 V(VarArgFunction) \ | 32 V(VarArgFunction) \ |
| 33 V(FastNewClosure) \ | 33 V(FastNewClosure) \ |
| 34 V(FastNewFunctionContext) \ | 34 V(FastNewFunctionContext) \ |
| 35 V(FastNewObject) \ | 35 V(FastNewObject) \ |
| 36 V(FastNewRestParameter) \ | 36 V(FastNewArguments) \ |
| 37 V(FastNewSloppyArguments) \ | |
| 38 V(FastNewStrictArguments) \ | |
| 39 V(TypeConversion) \ | 37 V(TypeConversion) \ |
| 40 V(Typeof) \ | 38 V(Typeof) \ |
| 41 V(FastCloneRegExp) \ | 39 V(FastCloneRegExp) \ |
| 42 V(FastCloneShallowArray) \ | 40 V(FastCloneShallowArray) \ |
| 43 V(FastCloneShallowObject) \ | 41 V(FastCloneShallowObject) \ |
| 44 V(CreateAllocationSite) \ | 42 V(CreateAllocationSite) \ |
| 45 V(CreateWeakCell) \ | 43 V(CreateWeakCell) \ |
| 46 V(CallFunction) \ | 44 V(CallFunction) \ |
| 47 V(CallIC) \ | 45 V(CallIC) \ |
| 48 V(CallICTrampoline) \ | 46 V(CallICTrampoline) \ |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 }; | 488 }; |
| 491 | 489 |
| 492 class FastNewObjectDescriptor : public CallInterfaceDescriptor { | 490 class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
| 493 public: | 491 public: |
| 494 DEFINE_PARAMETERS(kTarget, kNewTarget) | 492 DEFINE_PARAMETERS(kTarget, kNewTarget) |
| 495 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) | 493 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) |
| 496 static const Register TargetRegister(); | 494 static const Register TargetRegister(); |
| 497 static const Register NewTargetRegister(); | 495 static const Register NewTargetRegister(); |
| 498 }; | 496 }; |
| 499 | 497 |
| 500 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 498 class FastNewArgumentsDescriptor : public CallInterfaceDescriptor { |
| 501 public: | 499 public: |
| 502 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 500 DEFINE_PARAMETERS(kFunction) |
| 503 }; | 501 DECLARE_DESCRIPTOR(FastNewArgumentsDescriptor, CallInterfaceDescriptor) |
| 504 | 502 static const Register TargetRegister(); |
| 505 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { | |
| 506 public: | |
| 507 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, | |
| 508 CallInterfaceDescriptor) | |
| 509 }; | |
| 510 | |
| 511 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { | |
| 512 public: | |
| 513 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, | |
| 514 CallInterfaceDescriptor) | |
| 515 }; | 503 }; |
| 516 | 504 |
| 517 class TypeConversionDescriptor final : public CallInterfaceDescriptor { | 505 class TypeConversionDescriptor final : public CallInterfaceDescriptor { |
| 518 public: | 506 public: |
| 519 DEFINE_PARAMETERS(kArgument) | 507 DEFINE_PARAMETERS(kArgument) |
| 520 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) | 508 DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) |
| 521 | 509 |
| 522 static const Register ArgumentRegister(); | 510 static const Register ArgumentRegister(); |
| 523 }; | 511 }; |
| 524 | 512 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 } // namespace v8 | 970 } // namespace v8 |
| 983 | 971 |
| 984 | 972 |
| 985 #if V8_TARGET_ARCH_ARM64 | 973 #if V8_TARGET_ARCH_ARM64 |
| 986 #include "src/arm64/interface-descriptors-arm64.h" | 974 #include "src/arm64/interface-descriptors-arm64.h" |
| 987 #elif V8_TARGET_ARCH_ARM | 975 #elif V8_TARGET_ARCH_ARM |
| 988 #include "src/arm/interface-descriptors-arm.h" | 976 #include "src/arm/interface-descriptors-arm.h" |
| 989 #endif | 977 #endif |
| 990 | 978 |
| 991 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 979 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |