Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index cc3b8a4b6af1980f512b1f33a855fc70c8169a29..69020a776b0c87a16133c0e205c8650f8b2b52a9 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -496,8 +496,7 @@ bool LookupIterator::HolderIsReceiverOrHiddenPrototype() const { |
if (!current->map()->has_hidden_prototype()) return false; |
// JSProxy do not occur as hidden prototypes. |
if (object->IsJSProxy()) return false; |
- PrototypeIterator iter(isolate(), current, |
- PrototypeIterator::START_AT_PROTOTYPE, |
+ PrototypeIterator iter(isolate(), current, kStartAtPrototype, |
PrototypeIterator::END_AT_NON_HIDDEN); |
while (!iter.IsAtEnd()) { |
if (iter.GetCurrent<JSReceiver>() == object) return true; |