Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 7d953cb3fcdca34fb2108ea39b708aec3406e8ed..cf7c6b1f1c1cf84d0f02bccdc5959ba45d921507 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -444,8 +444,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreTransition( |
PrototypeIterator::WhereToEnd end = |
name->IsPrivate() ? PrototypeIterator::END_AT_NON_HIDDEN |
: PrototypeIterator::END_AT_NULL; |
- PrototypeIterator iter(isolate(), holder(), |
- PrototypeIterator::START_AT_PROTOTYPE, end); |
+ PrototypeIterator iter(isolate(), holder(), kStartAtPrototype, end); |
while (!iter.IsAtEnd()) { |
last = PrototypeIterator::GetCurrent<JSObject>(iter); |
iter.Advance(); |