Index: src/isolate-inl.h |
diff --git a/src/isolate-inl.h b/src/isolate-inl.h |
index c80936e0c717fa83bee0afb63e16591beb90c726..46f29b652d618c4acab7b62f513189d1b38942b4 100644 |
--- a/src/isolate-inl.h |
+++ b/src/isolate-inl.h |
@@ -102,7 +102,6 @@ NATIVE_CONTEXT_FIELDS(NATIVE_CONTEXT_FIELD_ACCESSOR) |
#undef NATIVE_CONTEXT_FIELD_ACCESSOR |
bool Isolate::IsArraySpeciesLookupChainIntact() { |
- if (!FLAG_harmony_species) return true; |
// Note: It would be nice to have debug checks to make sure that the |
// species protector is accurate, but this would be hard to do for most of |
// what the protector stands for: |
@@ -121,7 +120,6 @@ bool Isolate::IsArraySpeciesLookupChainIntact() { |
} |
bool Isolate::IsHasInstanceLookupChainIntact() { |
- if (!FLAG_harmony_instanceof) return true; |
PropertyCell* has_instance_cell = heap()->has_instance_protector(); |
return has_instance_cell->value() == Smi::FromInt(kArrayProtectorValid); |
} |