| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 V(ArrayConstructorConstantArgCount) \ | 45 V(ArrayConstructorConstantArgCount) \ |
| 46 V(ArrayConstructor) \ | 46 V(ArrayConstructor) \ |
| 47 V(InternalArrayConstructorConstantArgCount) \ | 47 V(InternalArrayConstructorConstantArgCount) \ |
| 48 V(InternalArrayConstructor) \ | 48 V(InternalArrayConstructor) \ |
| 49 V(Compare) \ | 49 V(Compare) \ |
| 50 V(CompareNil) \ | 50 V(CompareNil) \ |
| 51 V(ToBoolean) \ | 51 V(ToBoolean) \ |
| 52 V(BinaryOp) \ | 52 V(BinaryOp) \ |
| 53 V(BinaryOpWithAllocationSite) \ | 53 V(BinaryOpWithAllocationSite) \ |
| 54 V(StringAdd) \ | 54 V(StringAdd) \ |
| 55 V(StringCompare) \ |
| 55 V(Keyed) \ | 56 V(Keyed) \ |
| 56 V(Named) \ | 57 V(Named) \ |
| 57 V(CallHandler) \ | 58 V(CallHandler) \ |
| 58 V(ArgumentAdaptor) \ | 59 V(ArgumentAdaptor) \ |
| 59 V(ApiFunction) \ | 60 V(ApiFunction) \ |
| 60 V(ApiAccessor) \ | 61 V(ApiAccessor) \ |
| 61 V(ApiGetter) \ | 62 V(ApiGetter) \ |
| 62 V(ArgumentsAccessRead) \ | 63 V(ArgumentsAccessRead) \ |
| 63 V(StoreArrayLiteralElement) \ | 64 V(StoreArrayLiteralElement) \ |
| 64 V(LoadGlobalViaContext) \ | 65 V(LoadGlobalViaContext) \ |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 CallInterfaceDescriptor) | 564 CallInterfaceDescriptor) |
| 564 }; | 565 }; |
| 565 | 566 |
| 566 | 567 |
| 567 class StringAddDescriptor : public CallInterfaceDescriptor { | 568 class StringAddDescriptor : public CallInterfaceDescriptor { |
| 568 public: | 569 public: |
| 569 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) | 570 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) |
| 570 }; | 571 }; |
| 571 | 572 |
| 572 | 573 |
| 574 class StringCompareDescriptor : public CallInterfaceDescriptor { |
| 575 public: |
| 576 DECLARE_DESCRIPTOR(StringCompareDescriptor, CallInterfaceDescriptor) |
| 577 |
| 578 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount }; |
| 579 static const Register LeftRegister(); |
| 580 static const Register RightRegister(); |
| 581 }; |
| 582 |
| 583 |
| 573 class KeyedDescriptor : public CallInterfaceDescriptor { | 584 class KeyedDescriptor : public CallInterfaceDescriptor { |
| 574 public: | 585 public: |
| 575 DECLARE_DESCRIPTOR(KeyedDescriptor, CallInterfaceDescriptor) | 586 DECLARE_DESCRIPTOR(KeyedDescriptor, CallInterfaceDescriptor) |
| 576 }; | 587 }; |
| 577 | 588 |
| 578 | 589 |
| 579 class NamedDescriptor : public CallInterfaceDescriptor { | 590 class NamedDescriptor : public CallInterfaceDescriptor { |
| 580 public: | 591 public: |
| 581 DECLARE_DESCRIPTOR(NamedDescriptor, CallInterfaceDescriptor) | 592 DECLARE_DESCRIPTOR(NamedDescriptor, CallInterfaceDescriptor) |
| 582 }; | 593 }; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 } // namespace v8::internal | 712 } // namespace v8::internal |
| 702 | 713 |
| 703 | 714 |
| 704 #if V8_TARGET_ARCH_ARM64 | 715 #if V8_TARGET_ARCH_ARM64 |
| 705 #include "src/arm64/interface-descriptors-arm64.h" | 716 #include "src/arm64/interface-descriptors-arm64.h" |
| 706 #elif V8_TARGET_ARCH_ARM | 717 #elif V8_TARGET_ARCH_ARM |
| 707 #include "src/arm/interface-descriptors-arm.h" | 718 #include "src/arm/interface-descriptors-arm.h" |
| 708 #endif | 719 #endif |
| 709 | 720 |
| 710 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 721 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
| OLD | NEW |