| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 66ca97ef42fbe7a78e061d8a2e3e53167e86ad60..da331c2df77f388dad959da662c8ccb7b584fffc 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2337,6 +2337,13 @@ Object* JSRegExp::DataAt(int index) {
|
| }
|
|
|
|
|
| +void JSRegExp::SetDataAt(int index, Object* value) {
|
| + ASSERT(TypeTag() != NOT_COMPILED);
|
| + ASSERT(index >= kDataIndex); // Only implementation data can be set this way.
|
| + FixedArray::cast(data())->set(index, value);
|
| +}
|
| +
|
| +
|
| bool JSObject::HasFastElements() {
|
| return !elements()->IsDictionary();
|
| }
|
|
|