Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1431)

Unified Diff: src/ic/ic.cc

Issue 480283003: Minor LookupIterator cleanups (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/lookup.h » ('j') | src/objects.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/lookup.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698