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

Unified Diff: src/interface-descriptors.h

Issue 2738413002: [regexp] Port RegExpExecStub to CSA (mostly) (Closed)
Patch Set: Rebase 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/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 2f196c3b1d9351fa7516effab35eb67b27e3d634..c31838661f1e9ec06a19965550c301c5bd03c6d3 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -647,9 +647,15 @@ class CallConstructDescriptor : public CallInterfaceDescriptor {
class RegExpExecDescriptor : public CallInterfaceDescriptor {
public:
- DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo)
- DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor,
- CallInterfaceDescriptor)
+ 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 RegExpReplaceDescriptor : public CallInterfaceDescriptor {
« 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