Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index d0c0edb8f7d700c1c4bc7a582024878cd13962aa..a9369ed4e008f8b543c696ade112e3750a4edbd9 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -2688,7 +2688,7 @@ RUNTIME_FUNCTION(StorePropertyWithInterceptor) { |
PrototypeIterator iter(isolate, receiver, |
PrototypeIterator::START_AT_RECEIVER); |
bool found = false; |
- while (!iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN)) { |
+ for (; !iter.IsAtEnd(PrototypeIterator::END_AT_NON_HIDDEN); iter.Advance()) { |
Handle<Object> current = PrototypeIterator::GetCurrent(iter); |
if (current->IsJSObject() && |
Handle<JSObject>::cast(current)->HasNamedInterceptor()) { |