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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) | 296 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
296 }; | 297 }; |
297 | 298 |
298 | 299 |
299 class NumberToStringDescriptor : public CallInterfaceDescriptor { | 300 class NumberToStringDescriptor : public CallInterfaceDescriptor { |
300 public: | 301 public: |
301 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) | 302 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) |
302 }; | 303 }; |
303 | 304 |
304 | 305 |
| 306 class TypeofDescriptor : public CallInterfaceDescriptor { |
| 307 public: |
| 308 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
| 309 }; |
| 310 |
| 311 |
305 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor { | 312 class FastCloneShallowArrayDescriptor : public CallInterfaceDescriptor { |
306 public: | 313 public: |
307 DECLARE_DESCRIPTOR(FastCloneShallowArrayDescriptor, CallInterfaceDescriptor) | 314 DECLARE_DESCRIPTOR(FastCloneShallowArrayDescriptor, CallInterfaceDescriptor) |
308 }; | 315 }; |
309 | 316 |
310 | 317 |
311 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor { | 318 class FastCloneShallowObjectDescriptor : public CallInterfaceDescriptor { |
312 public: | 319 public: |
313 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) | 320 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) |
314 }; | 321 }; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 } // namespace v8::internal | 545 } // namespace v8::internal |
539 | 546 |
540 | 547 |
541 #if V8_TARGET_ARCH_ARM64 | 548 #if V8_TARGET_ARCH_ARM64 |
542 #include "src/arm64/interface-descriptors-arm64.h" | 549 #include "src/arm64/interface-descriptors-arm64.h" |
543 #elif V8_TARGET_ARCH_ARM | 550 #elif V8_TARGET_ARCH_ARM |
544 #include "src/arm/interface-descriptors-arm.h" | 551 #include "src/arm/interface-descriptors-arm.h" |
545 #endif | 552 #endif |
546 | 553 |
547 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 554 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |