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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 06e586e876e345cb62884067e33e91f979776f47..6866a97d1e6ecb73b99cfa494be8d243b80eaf4a 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -52,6 +52,7 @@ class PlatformInterfaceDescriptor;
V(BinaryOp) \
V(BinaryOpWithAllocationSite) \
V(StringAdd) \
+ V(StringCompare) \
V(Keyed) \
V(Named) \
V(CallHandler) \
@@ -570,6 +571,16 @@ class StringAddDescriptor : public CallInterfaceDescriptor {
};
+class StringCompareDescriptor : public CallInterfaceDescriptor {
+ public:
+ DECLARE_DESCRIPTOR(StringCompareDescriptor, CallInterfaceDescriptor)
+
+ enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount };
+ static const Register LeftRegister();
+ static const Register RightRegister();
+};
+
+
class KeyedDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR(KeyedDescriptor, CallInterfaceDescriptor)
« 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