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