| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 63abfbc6729cdf7d6232c58dcd4ece00c73edf0c..2ea5d600c980890b4c8ee734d1d695466e3c9908 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -6961,6 +6961,13 @@ String* JSRegExp::Pattern() {
|
| return pattern;
|
| }
|
|
|
| +Object* JSRegExp::CaptureNameMap() {
|
| + DCHECK(this->data()->IsFixedArray());
|
| + DCHECK_EQ(TypeTag(), IRREGEXP);
|
| + Object* value = DataAt(kIrregexpCaptureNameMapIndex);
|
| + DCHECK_NE(value, Smi::FromInt(JSRegExp::kUninitializedValue));
|
| + return value;
|
| +}
|
|
|
| Object* JSRegExp::DataAt(int index) {
|
| DCHECK(TypeTag() != NOT_COMPILED);
|
|
|