Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: src/interface-descriptors.h

Issue 1347913003: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698