| Index: src/isolate-inl.h
|
| diff --git a/src/isolate-inl.h b/src/isolate-inl.h
|
| index 02993cfa6b6a9bdcde227495a468d6db7def1e57..3f33acaac9b840a6e3456d9f0608e7ea6554d55e 100644
|
| --- a/src/isolate-inl.h
|
| +++ b/src/isolate-inl.h
|
| @@ -133,6 +133,11 @@ bool Isolate::IsArraySpeciesLookupChainIntact() {
|
| Smi::cast(species_cell->value())->value() == kProtectorValid;
|
| }
|
|
|
| +bool Isolate::IsStringBoundsCheckIntact() {
|
| + Cell* string_bounds_check_cell = heap()->string_bounds_check_protector();
|
| + return string_bounds_check_cell->value() == Smi::FromInt(kProtectorValid);
|
| +}
|
| +
|
| bool Isolate::IsStringLengthOverflowIntact() {
|
| PropertyCell* string_length_cell = heap()->string_length_protector();
|
| return string_length_cell->value() == Smi::FromInt(kProtectorValid);
|
|
|