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

Unified Diff: src/lookup.h

Issue 466283003: Use LookupIterator for CompileLoadInterceptor and delete Object::Lookup (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add ports 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
« src/ia32/stub-cache-ia32.cc ('K') | « src/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.h
diff --git a/src/lookup.h b/src/lookup.h
index 8444771ac69eef22279742cbc165884a48e21c88..7727ca57dc083289f361a27fcbc4acf81480bd45 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -48,6 +48,18 @@ class LookupIterator V8_FINAL BASE_EMBEDDED {
DESCRIPTOR
};
+ explicit LookupIterator(const LookupIterator* other)
+ : configuration_(other->configuration_),
+ state_(other->state_),
+ property_kind_(other->property_kind_),
+ property_encoding_(other->property_encoding_),
+ property_details_(other->property_details_),
+ isolate_(other->isolate_),
+ name_(other->name_),
+ holder_map_(other->holder_map_),
+ maybe_receiver_(other->maybe_receiver_),
+ maybe_holder_(other->maybe_holder_) {}
+
LookupIterator(Handle<Object> receiver, Handle<Name> name,
Configuration configuration = CHECK_DERIVED)
: configuration_(ComputeConfiguration(configuration, name)),
« src/ia32/stub-cache-ia32.cc ('K') | « src/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698