Index: src/isolate-inl.h |
diff --git a/src/isolate-inl.h b/src/isolate-inl.h |
index a148968b27151429ebd08ec26b0a547934e2ad3e..fc88676823d8ab8875a657e3dae0bfd710072e6d 100644 |
--- a/src/isolate-inl.h |
+++ b/src/isolate-inl.h |
@@ -148,6 +148,11 @@ bool Isolate::IsFastArrayIterationIntact() { |
return fast_iteration->value() == Smi::FromInt(kProtectorValid); |
} |
+bool Isolate::IsArrayBufferNeuteringIntact() { |
+ PropertyCell* fast_iteration = heap()->array_buffer_neutering_protector(); |
+ return fast_iteration->value() == Smi::FromInt(kProtectorValid); |
+} |
+ |
bool Isolate::IsArrayIteratorLookupChainIntact() { |
Cell* array_iterator_cell = heap()->array_iterator_protector(); |
return array_iterator_cell->value() == Smi::FromInt(kProtectorValid); |