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/objects.h

Issue 2630233003: [regexp] Create property on result for each named capture (Closed)
Patch Set: Blacklist index, input, length Created 3 years, 11 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 45f5ba0c0a3c7f3d1cb5250abbfd7711bd3c760c..6c7b51953102e2efea0cc99e915bb4fe4542acce 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8805,6 +8805,8 @@ class JSRegExp: public JSObject {
FixedArray::kHeaderSize + kIrregexpUC16CodeIndex * kPointerSize;
static const int kIrregexpCaptureCountOffset =
FixedArray::kHeaderSize + kIrregexpCaptureCountIndex * kPointerSize;
+ static const int kIrregexpCaptureNameMapOffset =
+ FixedArray::kHeaderSize + kIrregexpCaptureNameMapIndex * kPointerSize;
// In-object fields.
static const int kLastIndexFieldIndex = 0;

Powered by Google App Engine
This is Rietveld 408576698