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

Unified Diff: src/lookup.h

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 | « src/ic/ic.cc ('k') | src/lookup.cc » ('j') | src/objects.h » ('J')
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 d6fa35b265861db90861415c992c5721aa8a31d1..1e5ab0772dc0e6b48560a0487506daec1fd1bd20 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -53,18 +53,6 @@ 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)),
@@ -77,7 +65,7 @@ class LookupIterator V8_FINAL BASE_EMBEDDED {
maybe_receiver_(receiver),
number_(DescriptorArray::kNotFound) {
Handle<JSReceiver> root = GetRoot();
- holder_map_ = handle(root->map());
+ holder_map_ = handle(root->map(), isolate_);
maybe_holder_ = root;
Next();
}
@@ -92,7 +80,7 @@ class LookupIterator V8_FINAL BASE_EMBEDDED {
property_details_(NONE, NORMAL, Representation::None()),
isolate_(name->GetIsolate()),
name_(name),
- holder_map_(holder->map()),
+ holder_map_(holder->map(), isolate_),
maybe_receiver_(receiver),
maybe_holder_(holder),
number_(DescriptorArray::kNotFound) {
« no previous file with comments | « src/ic/ic.cc ('k') | src/lookup.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698