| Index: src/isolate-inl.h
|
| diff --git a/src/isolate-inl.h b/src/isolate-inl.h
|
| index 34c98bba645a5a44253689b954abc9370b550209..1bf4238127339bec9f48e130f933318c6d351c29 100644
|
| --- a/src/isolate-inl.h
|
| +++ b/src/isolate-inl.h
|
| @@ -130,17 +130,22 @@ bool Isolate::IsArraySpeciesLookupChainIntact() {
|
|
|
| Cell* species_cell = heap()->species_protector();
|
| return species_cell->value()->IsSmi() &&
|
| - Smi::cast(species_cell->value())->value() == kArrayProtectorValid;
|
| + Smi::cast(species_cell->value())->value() == kProtectorValid;
|
| }
|
|
|
| bool Isolate::IsHasInstanceLookupChainIntact() {
|
| PropertyCell* has_instance_cell = heap()->has_instance_protector();
|
| - return has_instance_cell->value() == Smi::FromInt(kArrayProtectorValid);
|
| + return has_instance_cell->value() == Smi::FromInt(kProtectorValid);
|
| }
|
|
|
| bool Isolate::IsStringLengthOverflowIntact() {
|
| PropertyCell* has_instance_cell = heap()->string_length_protector();
|
| - return has_instance_cell->value() == Smi::FromInt(kArrayProtectorValid);
|
| + return has_instance_cell->value() == Smi::FromInt(kProtectorValid);
|
| +}
|
| +
|
| +bool Isolate::IsArrayIteratorLookupChainIntact() {
|
| + Cell* array_iterator_cell = heap()->array_iterator_protector();
|
| + return array_iterator_cell->value() == Smi::FromInt(kProtectorValid);
|
| }
|
|
|
| } // namespace internal
|
|
|