| 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(VectorStoreICTrampoline) \ | 20 V(VectorStoreICTrampoline) \ |
| 21 V(VectorStoreIC) \ | 21 V(VectorStoreIC) \ |
| 22 V(Instanceof) \ | 22 V(Instanceof) \ |
| 23 V(LoadWithVector) \ | 23 V(LoadWithVector) \ |
| 24 V(FastNewClosure) \ | 24 V(FastNewClosure) \ |
| 25 V(FastNewContext) \ | 25 V(FastNewContext) \ |
| 26 V(ToNumber) \ | 26 V(ToNumber) \ |
| 27 V(ToObject) \ |
| 27 V(NumberToString) \ | 28 V(NumberToString) \ |
| 28 V(Typeof) \ | 29 V(Typeof) \ |
| 29 V(FastCloneShallowArray) \ | 30 V(FastCloneShallowArray) \ |
| 30 V(FastCloneShallowObject) \ | 31 V(FastCloneShallowObject) \ |
| 31 V(CreateAllocationSite) \ | 32 V(CreateAllocationSite) \ |
| 32 V(CreateWeakCell) \ | 33 V(CreateWeakCell) \ |
| 33 V(CallFunction) \ | 34 V(CallFunction) \ |
| 34 V(CallFunctionWithFeedback) \ | 35 V(CallFunctionWithFeedback) \ |
| 35 V(CallFunctionWithFeedbackAndVector) \ | 36 V(CallFunctionWithFeedbackAndVector) \ |
| 36 V(CallConstruct) \ | 37 V(CallConstruct) \ |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) | 333 DECLARE_DESCRIPTOR(FastNewContextDescriptor, CallInterfaceDescriptor) |
| 333 }; | 334 }; |
| 334 | 335 |
| 335 | 336 |
| 336 class ToNumberDescriptor : public CallInterfaceDescriptor { | 337 class ToNumberDescriptor : public CallInterfaceDescriptor { |
| 337 public: | 338 public: |
| 338 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) | 339 DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
| 339 }; | 340 }; |
| 340 | 341 |
| 341 | 342 |
| 343 class ToObjectDescriptor : public CallInterfaceDescriptor { |
| 344 public: |
| 345 enum ParameterIndices { kReceiverIndex }; |
| 346 |
| 347 DECLARE_DESCRIPTOR(ToObjectDescriptor, CallInterfaceDescriptor) |
| 348 }; |
| 349 |
| 350 |
| 342 class NumberToStringDescriptor : public CallInterfaceDescriptor { | 351 class NumberToStringDescriptor : public CallInterfaceDescriptor { |
| 343 public: | 352 public: |
| 344 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) | 353 DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) |
| 345 }; | 354 }; |
| 346 | 355 |
| 347 | 356 |
| 348 class TypeofDescriptor : public CallInterfaceDescriptor { | 357 class TypeofDescriptor : public CallInterfaceDescriptor { |
| 349 public: | 358 public: |
| 350 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) | 359 DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor) |
| 351 }; | 360 }; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 } // namespace v8::internal | 650 } // namespace v8::internal |
| 642 | 651 |
| 643 | 652 |
| 644 #if V8_TARGET_ARCH_ARM64 | 653 #if V8_TARGET_ARCH_ARM64 |
| 645 #include "src/arm64/interface-descriptors-arm64.h" | 654 #include "src/arm64/interface-descriptors-arm64.h" |
| 646 #elif V8_TARGET_ARCH_ARM | 655 #elif V8_TARGET_ARCH_ARM |
| 647 #include "src/arm/interface-descriptors-arm.h" | 656 #include "src/arm/interface-descriptors-arm.h" |
| 648 #endif | 657 #endif |
| 649 | 658 |
| 650 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 659 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |