Index: src/lookup.h |
diff --git a/src/lookup.h b/src/lookup.h |
index 710010bd03a5a63844f74a9ea0ac123c994df2c6..687657ae65625dfef0db9f9ce223a3902cc11292 100644 |
--- a/src/lookup.h |
+++ b/src/lookup.h |
@@ -260,10 +260,11 @@ class V8_EXPORT_PRIVATE LookupIterator final BASE_EMBEDDED { |
void WriteDataValue(Handle<Object> value, bool initializing_store); |
inline void UpdateProtector() { |
if (IsElement()) return; |
+ // This list must be kept in sync with |
+ // CodeStubAssembler::HasAssociatedProtector! |
if (*name_ == heap()->is_concat_spreadable_symbol() || |
*name_ == heap()->constructor_string() || |
*name_ == heap()->species_symbol() || |
- *name_ == heap()->has_instance_symbol() || |
*name_ == heap()->iterator_symbol()) { |
InternalUpdateProtector(); |
} |