| Index: src/isolate-inl.h
|
| diff --git a/src/isolate-inl.h b/src/isolate-inl.h
|
| index 34c98bba645a5a44253689b954abc9370b550209..498e16423459eadfe4d2ff81cf89ec0b29e2adba 100644
|
| --- a/src/isolate-inl.h
|
| +++ b/src/isolate-inl.h
|
| @@ -143,6 +143,11 @@ bool Isolate::IsStringLengthOverflowIntact() {
|
| return has_instance_cell->value() == Smi::FromInt(kArrayProtectorValid);
|
| }
|
|
|
| +bool Isolate::CanInlineArrayIterator() {
|
| + PropertyCell* array_iterator_cell = heap()->array_iterator_protector();
|
| + return array_iterator_cell->value() == Smi::FromInt(kArrayProtectorValid);
|
| +}
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|