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(FastNewClosure) \ | 26 V(FastNewClosure) \ |
27 V(FastNewContext) \ | 27 V(FastNewContext) \ |
28 V(FastNewRestParameter) \ | 28 V(FastNewRestParameter) \ |
| 29 V(FastNewStrictArguments) \ |
29 V(ToNumber) \ | 30 V(ToNumber) \ |
30 V(ToLength) \ | 31 V(ToLength) \ |
31 V(ToString) \ | 32 V(ToString) \ |
32 V(ToName) \ | 33 V(ToName) \ |
33 V(ToObject) \ | 34 V(ToObject) \ |
34 V(NumberToString) \ | 35 V(NumberToString) \ |
35 V(Typeof) \ | 36 V(Typeof) \ |
36 V(FastCloneRegExp) \ | 37 V(FastCloneRegExp) \ |
37 V(FastCloneShallowArray) \ | 38 V(FastCloneShallowArray) \ |
38 V(FastCloneShallowObject) \ | 39 V(FastCloneShallowObject) \ |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 class FastNewContextDescriptor : public CallInterfaceDescriptor { | 373 class FastNewContextDescriptor : public CallInterfaceDescriptor { |
373 public: | 374 public: |
374 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) | 375 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) |
375 }; | 376 }; |
376 | 377 |
377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 378 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
378 public: | 379 public: |
379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 380 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
380 }; | 381 }; |
381 | 382 |
| 383 class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { |
| 384 public: |
| 385 DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, |
| 386 CallInterfaceDescriptor) |
| 387 }; |
| 388 |
382 | 389 |
383 class ToNumberDescriptor : public CallInterfaceDescriptor { | 390 class ToNumberDescriptor : public CallInterfaceDescriptor { |
384 public: | 391 public: |
385 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) | 392 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
386 }; | 393 }; |
387 | 394 |
388 | 395 |
389 class ToLengthDescriptor : public CallInterfaceDescriptor { | 396 class ToLengthDescriptor : public CallInterfaceDescriptor { |
390 public: | 397 public: |
391 enum ParameterIndices { kReceiverIndex }; | 398 enum ParameterIndices { kReceiverIndex }; |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 } // namespace v8 | 806 } // namespace v8 |
800 | 807 |
801 | 808 |
802 #if V8_TARGET_ARCH_ARM64 | 809 #if V8_TARGET_ARCH_ARM64 |
803 #include "src/arm64/interface-descriptors-arm64.h" | 810 #include "src/arm64/interface-descriptors-arm64.h" |
804 #elif V8_TARGET_ARCH_ARM | 811 #elif V8_TARGET_ARCH_ARM |
805 #include "src/arm/interface-descriptors-arm.h" | 812 #include "src/arm/interface-descriptors-arm.h" |
806 #endif | 813 #endif |
807 | 814 |
808 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 815 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |