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

Unified Diff: src/builtins/builtins-regexp.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/bailout-reason.h ('k') | src/builtins/builtins-regexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-regexp.h
diff --git a/src/builtins/builtins-regexp.h b/src/builtins/builtins-regexp.h
index f14a41e051fbd4aba01aae6f7f14dd5227a2980a..b41d58786512ece32168c08268d08ed60cc0f750 100644
--- a/src/builtins/builtins-regexp.h
+++ b/src/builtins/builtins-regexp.h
@@ -33,6 +33,18 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler {
void StoreLastIndex(Node* context, Node* regexp, Node* value,
bool is_fastpath);
+ // Loads {var_string_start} and {var_string_end} with the corresponding
+ // offsets into the given {string}.
+ void GetStringPointers(Node* const string, Node* const offset,
+ Node* const last_index, Node* const string_length,
+ bool is_one_byte, Variable* var_string_start,
+ Variable* var_string_end);
+
+ // Low level logic around the actual call into generated Irregexp code.
+ Node* IrregexpExec(Node* const context, Node* const regexp,
+ Node* const string, Node* const last_index,
+ Node* const match_info);
+
Node* ConstructNewResultFromMatchInfo(Node* const context, Node* const regexp,
Node* const match_info,
Node* const string);
« no previous file with comments | « src/bailout-reason.h ('k') | src/builtins/builtins-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698