Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index ed3890915896c03ae195fade30c49a43a5ffedf7..ab8d47efec23b3cc023be4a7859975a5d493e8b8 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -73,7 +73,7 @@ void LookupIterator::Next() { |
JSReceiver* holder = *holder_; |
Map* map = holder->map(); |
- if (map->instance_type() <= LAST_SPECIAL_RECEIVER_TYPE) { |
+ if (map->IsSpecialReceiverMap()) { |
state_ = IsElement() ? LookupInSpecialHolder<true>(map, holder) |
: LookupInSpecialHolder<false>(map, holder); |
if (IsFound()) return; |