Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 4c297ee8ff826be2a1f2ed35a91b2fabab1ae96e..2bd40de8ca09f7867e32bc61461e8ab1daa28b1b 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -970,7 +970,7 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup, |
cache_holder); |
// Perform a lookup behind the interceptor. Copy the LookupIterator since |
// the original iterator will be used to fetch the value. |
- LookupIterator it(lookup); |
+ LookupIterator it = *lookup; |
it.Next(); |
LookupForRead(&it); |
return compiler.CompileLoadInterceptor(&it); |