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 16 matching lines...) Expand all Loading... |
27 V(LoadGlobal) \ | 27 V(LoadGlobal) \ |
28 V(LoadGlobalWithVector) \ | 28 V(LoadGlobalWithVector) \ |
29 V(Store) \ | 29 V(Store) \ |
30 V(StoreTransition) \ | 30 V(StoreTransition) \ |
31 V(VectorStoreTransition) \ | 31 V(VectorStoreTransition) \ |
32 V(VectorStoreICTrampoline) \ | 32 V(VectorStoreICTrampoline) \ |
33 V(VectorStoreIC) \ | 33 V(VectorStoreIC) \ |
34 V(LoadWithVector) \ | 34 V(LoadWithVector) \ |
35 V(VarArgFunction) \ | 35 V(VarArgFunction) \ |
36 V(FastNewClosure) \ | 36 V(FastNewClosure) \ |
37 V(FastNewContext) \ | 37 V(FastNewFunctionContext) \ |
38 V(FastNewObject) \ | 38 V(FastNewObject) \ |
39 V(FastNewRestParameter) \ | 39 V(FastNewRestParameter) \ |
40 V(FastNewSloppyArguments) \ | 40 V(FastNewSloppyArguments) \ |
41 V(FastNewStrictArguments) \ | 41 V(FastNewStrictArguments) \ |
42 V(TypeConversion) \ | 42 V(TypeConversion) \ |
43 V(Typeof) \ | 43 V(Typeof) \ |
44 V(FastCloneRegExp) \ | 44 V(FastCloneRegExp) \ |
45 V(FastCloneShallowArray) \ | 45 V(FastCloneShallowArray) \ |
46 V(FastCloneShallowObject) \ | 46 V(FastCloneShallowObject) \ |
47 V(CreateAllocationSite) \ | 47 V(CreateAllocationSite) \ |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 static const Register VectorRegister() { | 494 static const Register VectorRegister() { |
495 return LoadWithVectorDescriptor::VectorRegister(); | 495 return LoadWithVectorDescriptor::VectorRegister(); |
496 } | 496 } |
497 }; | 497 }; |
498 | 498 |
499 class FastNewClosureDescriptor : public CallInterfaceDescriptor { | 499 class FastNewClosureDescriptor : public CallInterfaceDescriptor { |
500 public: | 500 public: |
501 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) | 501 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
502 }; | 502 }; |
503 | 503 |
504 | 504 class FastNewFunctionContextDescriptor : public CallInterfaceDescriptor { |
505 class FastNewContextDescriptor : public CallInterfaceDescriptor { | |
506 public: | 505 public: |
507 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) | 506 DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor) |
| 507 enum ParameterIndices { kFunctionIndex, kContextIndex }; |
508 }; | 508 }; |
509 | 509 |
510 class FastNewObjectDescriptor : public CallInterfaceDescriptor { | 510 class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
511 public: | 511 public: |
512 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) | 512 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) |
513 }; | 513 }; |
514 | 514 |
515 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 515 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
516 public: | 516 public: |
517 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 517 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 } // namespace v8 | 947 } // namespace v8 |
948 | 948 |
949 | 949 |
950 #if V8_TARGET_ARCH_ARM64 | 950 #if V8_TARGET_ARCH_ARM64 |
951 #include "src/arm64/interface-descriptors-arm64.h" | 951 #include "src/arm64/interface-descriptors-arm64.h" |
952 #elif V8_TARGET_ARCH_ARM | 952 #elif V8_TARGET_ARCH_ARM |
953 #include "src/arm/interface-descriptors-arm.h" | 953 #include "src/arm/interface-descriptors-arm.h" |
954 #endif | 954 #endif |
955 | 955 |
956 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 956 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |