| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 0f666d7ec74ab04fe16dc1ff3128236907b64196..b328371a8559f9cb74dfe35fb64a66adf06baa53 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -7000,6 +7000,11 @@ String* JSRegExp::Pattern() {
|
| return pattern;
|
| }
|
|
|
| +Object* JSRegExp::CaptureNameMap() {
|
| + DCHECK(this->data()->IsFixedArray());
|
| + DCHECK_EQ(TypeTag(), IRREGEXP);
|
| + return DataAt(kIrregexpCaptureNameMapIndex);
|
| +}
|
|
|
| Object* JSRegExp::DataAt(int index) {
|
| DCHECK(TypeTag() != NOT_COMPILED);
|
|
|