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(Load) \ | 17 V(Load) \ |
18 V(Store) \ | 18 V(Store) \ |
19 V(StoreTransition) \ | 19 V(StoreTransition) \ |
20 V(ElementTransitionAndStore) \ | 20 V(ElementTransitionAndStore) \ |
21 V(Instanceof) \ | 21 V(Instanceof) \ |
22 V(VectorLoadICTrampoline) \ | 22 V(VectorLoadICTrampoline) \ |
23 V(VectorLoadIC) \ | 23 V(VectorLoadIC) \ |
24 V(FastNewClosure) \ | 24 V(FastNewClosure) \ |
25 V(FastNewContext) \ | 25 V(FastNewContext) \ |
26 V(ToNumber) \ | 26 V(ToNumber) \ |
27 V(NumberToString) \ | 27 V(NumberToString) \ |
| 28 V(Typeof) \ |
28 V(FastCloneShallowArray) \ | 29 V(FastCloneShallowArray) \ |
29 V(FastCloneShallowObject) \ | 30 V(FastCloneShallowObject) \ |
30 V(CreateAllocationSite) \ | 31 V(CreateAllocationSite) \ |
31 V(CreateWeakCell) \ | 32 V(CreateWeakCell) \ |
32 V(CallFunction) \ | 33 V(CallFunction) \ |
33 V(CallFunctionWithFeedback) \ | 34 V(CallFunctionWithFeedback) \ |
34 V(CallFunctionWithFeedbackAndVector) \ | 35 V(CallFunctionWithFeedbackAndVector) \ |
35 V(CallConstruct) \ | 36 V(CallConstruct) \ |
36 V(RegExpConstructResult) \ | 37 V(RegExpConstructResult) \ |
37 V(TransitionElementsKind) \ | 38 V(TransitionElementsKind) \ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) | 297 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
297 }; | 298 }; |
298 | 299 |
299 | 300 |
300 class NumberToStringDescriptor : public CallInterfaceDescriptor { | 301 class NumberToStringDescriptor : public CallInterfaceDescriptor { |
301 public: | 302 public: |
302 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) | 303 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) |
303 }; | 304 }; |
304 | 305 |
305 | 306 |
| 307 class TypeofDescriptor : public CallInterfaceDescriptor { |
| 308 public: |
| 309 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
| 310 }; |
| 311 |
| 312 |
306 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor { | 313 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor { |
307 public: | 314 public: |
308 DECLARE_DESCRIPTOR(FastCloneShallowArrayDescriptor, CallInterfaceDescriptor) | 315 DECLARE_DESCRIPTOR(FastCloneShallowArrayDescriptor, CallInterfaceDescriptor) |
309 }; | 316 }; |
310 | 317 |
311 | 318 |
312 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor { | 319 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor { |
313 public: | 320 public: |
314 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) | 321 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) |
315 }; | 322 }; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 } // namespace v8::internal | 557 } // namespace v8::internal |
551 | 558 |
552 | 559 |
553 #if V8_TARGET_ARCH_ARM64 | 560 #if V8_TARGET_ARCH_ARM64 |
554 #include "src/arm64/interface-descriptors-arm64.h" | 561 #include "src/arm64/interface-descriptors-arm64.h" |
555 #elif V8_TARGET_ARCH_ARM | 562 #elif V8_TARGET_ARCH_ARM |
556 #include "src/arm/interface-descriptors-arm.h" | 563 #include "src/arm/interface-descriptors-arm.h" |
557 #endif | 564 #endif |
558 | 565 |
559 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 566 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |