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

Unified Diff: src/objects.h

Issue 2394713003: [regexp] Port test, match, and search (Closed)
Patch Set: Rebase 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 552e96f18fab6259c0c2661098c552c44b7fdca5..e63bf3531715fce43c4a8da35c8ca28c04a8466c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8517,6 +8517,9 @@ class JSRegExp: public JSObject {
// Set implementation data after the object has been prepared.
inline void SetDataAt(int index, Object* value);
+ inline void SetLastIndex(int index);
+ inline Object* LastIndex();
+
static int code_index(bool is_latin1) {
if (is_latin1) {
return kIrregexpLatin1CodeIndex;
« src/builtins/builtins-regexp.cc ('K') | « src/js/regexp.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698