| 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 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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(ToNumber) \ | 28 V(ToNumber) \ |
| 29 V(ToLength) \ | 29 V(ToLength) \ |
| 30 V(ToString) \ | 30 V(ToString) \ |
| 31 V(ToName) \ |
| 31 V(ToObject) \ | 32 V(ToObject) \ |
| 32 V(NumberToString) \ | 33 V(NumberToString) \ |
| 33 V(Typeof) \ | 34 V(Typeof) \ |
| 34 V(FastCloneRegExp) \ | 35 V(FastCloneRegExp) \ |
| 35 V(FastCloneShallowArray) \ | 36 V(FastCloneShallowArray) \ |
| 36 V(FastCloneShallowObject) \ | 37 V(FastCloneShallowObject) \ |
| 37 V(CreateAllocationSite) \ | 38 V(CreateAllocationSite) \ |
| 38 V(CreateWeakCell) \ | 39 V(CreateWeakCell) \ |
| 39 V(CallFunction) \ | 40 V(CallFunction) \ |
| 40 V(CallFunctionWithFeedback) \ | 41 V(CallFunctionWithFeedback) \ |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 class ToStringDescriptor : public CallInterfaceDescriptor { | 399 class ToStringDescriptor : public CallInterfaceDescriptor { |
| 399 public: | 400 public: |
| 400 enum ParameterIndices { kReceiverIndex }; | 401 enum ParameterIndices { kReceiverIndex }; |
| 401 | 402 |
| 402 DECLARE_DESCRIPTOR(ToStringDescriptor, CallInterfaceDescriptor) | 403 DECLARE_DESCRIPTOR(ToStringDescriptor, CallInterfaceDescriptor) |
| 403 | 404 |
| 404 static const Register ReceiverRegister(); | 405 static const Register ReceiverRegister(); |
| 405 }; | 406 }; |
| 406 | 407 |
| 407 | 408 |
| 409 class ToNameDescriptor : public CallInterfaceDescriptor { |
| 410 public: |
| 411 enum ParameterIndices { kReceiverIndex }; |
| 412 |
| 413 DECLARE_DESCRIPTOR(ToNameDescriptor, CallInterfaceDescriptor) |
| 414 |
| 415 static const Register ReceiverRegister(); |
| 416 }; |
| 417 |
| 418 |
| 408 class ToObjectDescriptor : public CallInterfaceDescriptor { | 419 class ToObjectDescriptor : public CallInterfaceDescriptor { |
| 409 public: | 420 public: |
| 410 enum ParameterIndices { kReceiverIndex }; | 421 enum ParameterIndices { kReceiverIndex }; |
| 411 | 422 |
| 412 DECLARE_DESCRIPTOR(ToObjectDescriptor, CallInterfaceDescriptor) | 423 DECLARE_DESCRIPTOR(ToObjectDescriptor, CallInterfaceDescriptor) |
| 413 | 424 |
| 414 static const Register ReceiverRegister(); | 425 static const Register ReceiverRegister(); |
| 415 }; | 426 }; |
| 416 | 427 |
| 417 | 428 |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 } // namespace v8 | 798 } // namespace v8 |
| 788 | 799 |
| 789 | 800 |
| 790 #if V8_TARGET_ARCH_ARM64 | 801 #if V8_TARGET_ARCH_ARM64 |
| 791 #include "src/arm64/interface-descriptors-arm64.h" | 802 #include "src/arm64/interface-descriptors-arm64.h" |
| 792 #elif V8_TARGET_ARCH_ARM | 803 #elif V8_TARGET_ARCH_ARM |
| 793 #include "src/arm/interface-descriptors-arm.h" | 804 #include "src/arm/interface-descriptors-arm.h" |
| 794 #endif | 805 #endif |
| 795 | 806 |
| 796 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 807 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |