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

Unified Diff: src/code-stubs.h

Issue 2827243005: 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/code-factory.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index bfacf6c62cc5682df71cf992129185ff62a81d80..b3269eade1c9531a59f5c43f8ca4bb4670ce7fb2 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -45,6 +45,7 @@
V(MathPow) \
V(ProfileEntryHook) \
V(RecordWrite) \
+ V(RegExpExec) \
V(StoreBufferOverflow) \
V(StoreSlowElement) \
V(SubString) \
@@ -1135,6 +1136,15 @@
DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub);
};
+
+class RegExpExecStub: public PlatformCodeStub {
+ public:
+ explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
+
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec);
+ DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub);
+};
+
// TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub.
class CallConstructStub final : public PlatformCodeStub {
public:
« no previous file with comments | « src/code-factory.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698