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

Unified Diff: src/interface-descriptors.h

Issue 2745053003: [regexp] Add slow exec stub to reduce code size (Closed)
Patch Set: Rebase and non-generic descriptor Created 3 years, 9 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/builtins/builtins-regexp-gen.cc ('k') | no next file » | 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 016ae62d24c04feb0b25660f8248367d27866936..95ebb4976ca33c0b2798c5590d992a61b09e8b43 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -50,6 +50,7 @@ class PlatformInterfaceDescriptor;
V(ConstructStub) \
V(ConstructTrampoline) \
V(RegExpExec) \
+ V(RegExpPrototypeExecSlow) \
V(RegExpReplace) \
V(RegExpSplit) \
V(CopyFastSmiOrObjectElements) \
@@ -658,6 +659,13 @@ class RegExpExecDescriptor : public CallInterfaceDescriptor {
static const Register CodeRegister();
};
+class RegExpPrototypeExecSlowDescriptor : public CallInterfaceDescriptor {
+ public:
+ DEFINE_PARAMETERS(kReceiver, kString)
+ DECLARE_DEFAULT_DESCRIPTOR(RegExpPrototypeExecSlowDescriptor,
+ CallInterfaceDescriptor, kParameterCount)
+};
+
class RegExpReplaceDescriptor : public CallInterfaceDescriptor {
public:
DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue)
« no previous file with comments | « src/builtins/builtins-regexp-gen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698