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

Unified Diff: src/regexp/regexp-utils.h

Issue 2415103002: [regexp] Turn last match info into a simple FixedArray (Closed)
Patch Set: Don't check instance type before map check Created 4 years, 2 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/regexp/jsregexp.cc ('k') | src/regexp/regexp-utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/regexp/regexp-utils.h
diff --git a/src/regexp/regexp-utils.h b/src/regexp/regexp-utils.h
index e57bd11f60d2758a8805159eadcee1d3285934dc..fbbfa9475b37c37479ab396e2be3f33f41c851d6 100644
--- a/src/regexp/regexp-utils.h
+++ b/src/regexp/regexp-utils.h
@@ -14,21 +14,8 @@ namespace internal {
class RegExpUtils : public AllStatic {
public:
// Last match info accessors.
- static Handle<Object> GetLastMatchField(Isolate* isolate,
- Handle<JSObject> match_info,
- int index);
- static void SetLastMatchField(Isolate* isolate, Handle<JSObject> match_info,
- int index, Handle<Object> value);
- static int GetLastMatchNumberOfCaptures(Isolate* isolate,
- Handle<JSObject> match_info);
- static Handle<String> GetLastMatchSubject(Isolate* isolate,
- Handle<JSObject> match_info);
- static Handle<Object> GetLastMatchInput(Isolate* isolate,
- Handle<JSObject> match_info);
- static int GetLastMatchCapture(Isolate* isolate, Handle<JSObject> match_info,
- int i);
static Handle<String> GenericCaptureGetter(Isolate* isolate,
- Handle<JSObject> match_info,
+ Handle<RegExpMatchInfo> match_info,
int capture, bool* ok = nullptr);
// Last index (RegExp.lastIndex) accessors.
« no previous file with comments | « src/regexp/jsregexp.cc ('k') | src/regexp/regexp-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698