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(FastNewObject) \ |
28 V(FastNewRestParameter) \ | 29 V(FastNewRestParameter) \ |
29 V(FastNewSloppyArguments) \ | 30 V(FastNewSloppyArguments) \ |
30 V(FastNewStrictArguments) \ | 31 V(FastNewStrictArguments) \ |
31 V(ToNumber) \ | 32 V(ToNumber) \ |
32 V(ToLength) \ | 33 V(ToLength) \ |
33 V(ToString) \ | 34 V(ToString) \ |
34 V(ToName) \ | 35 V(ToName) \ |
35 V(ToObject) \ | 36 V(ToObject) \ |
36 V(NumberToString) \ | 37 V(NumberToString) \ |
37 V(Typeof) \ | 38 V(Typeof) \ |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 public: | 368 public: |
368 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) | 369 DECLARE_DESCRIPTOR(FastNewClosureDescriptor, CallInterfaceDescriptor) |
369 }; | 370 }; |
370 | 371 |
371 | 372 |
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 |
| 378 class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
| 379 public: |
| 380 DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor) |
| 381 }; |
| 382 |
377 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { | 383 class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
378 public: | 384 public: |
379 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) | 385 DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
380 }; | 386 }; |
381 | 387 |
382 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { | 388 class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { |
383 public: | 389 public: |
384 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, | 390 DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, |
385 CallInterfaceDescriptor) | 391 CallInterfaceDescriptor) |
386 }; | 392 }; |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 } // namespace v8 | 797 } // namespace v8 |
792 | 798 |
793 | 799 |
794 #if V8_TARGET_ARCH_ARM64 | 800 #if V8_TARGET_ARCH_ARM64 |
795 #include "src/arm64/interface-descriptors-arm64.h" | 801 #include "src/arm64/interface-descriptors-arm64.h" |
796 #elif V8_TARGET_ARCH_ARM | 802 #elif V8_TARGET_ARCH_ARM |
797 #include "src/arm/interface-descriptors-arm.h" | 803 #include "src/arm/interface-descriptors-arm.h" |
798 #endif | 804 #endif |
799 | 805 |
800 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 806 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |