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

Unified Diff: src/interface-descriptors.h

Issue 2832193002: Revert of [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Created 3 years, 8 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/interface-descriptors-ia32.cc ('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 4a42862afa0b678969684db02a849b7683271abf..b97c45cd0e902829b8d04d2b22fb2e4aeed3c7ec 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -49,6 +49,7 @@
V(CallTrampoline) \
V(ConstructStub) \
V(ConstructTrampoline) \
+ V(RegExpExec) \
V(TransitionElementsKind) \
V(AllocateHeapNumber) \
V(Builtin) \
@@ -612,6 +613,19 @@
DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor)
};
+class RegExpExecDescriptor : public CallInterfaceDescriptor {
+ public:
+ DEFINE_PARAMETERS(kString, kLastIndex, kStringStart, kStringEnd, kCode)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(RegExpExecDescriptor,
+ CallInterfaceDescriptor)
+
+ static const Register StringRegister();
+ static const Register LastIndexRegister();
+ static const Register StringStartRegister();
+ static const Register StringEndRegister();
+ static const Register CodeRegister();
+};
+
class TransitionElementsKindDescriptor : public CallInterfaceDescriptor {
public:
DEFINE_PARAMETERS(kObject, kMap)
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698