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

Unified Diff: src/lookup.h

Issue 1159433003: Use GetProperty for getting elements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 7 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/json-stringifier.h ('k') | src/lookup.cc » ('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 b8e7c4d2b3b3640572fecdb0cc04fa9e810bfde4..ed54a7ef7306c7603f626f7b0c529f624a0590b6 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -86,7 +86,7 @@ class LookupIterator final BASE_EMBEDDED {
Configuration configuration = PROTOTYPE_CHAIN)
: configuration_(configuration),
state_(NOT_FOUND),
- exotic_index_state_(ExoticIndexState::kNotExotic),
+ exotic_index_state_(ExoticIndexState::kUninitialized),
interceptor_state_(InterceptorState::kUninitialized),
property_details_(PropertyDetails::Empty()),
isolate_(isolate),
@@ -107,7 +107,7 @@ class LookupIterator final BASE_EMBEDDED {
Configuration configuration = PROTOTYPE_CHAIN)
: configuration_(configuration),
state_(NOT_FOUND),
- exotic_index_state_(ExoticIndexState::kNotExotic),
+ exotic_index_state_(ExoticIndexState::kUninitialized),
interceptor_state_(InterceptorState::kUninitialized),
property_details_(PropertyDetails::Empty()),
isolate_(isolate),
@@ -222,6 +222,8 @@ class LookupIterator final BASE_EMBEDDED {
void ReloadPropertyInformation();
bool SkipInterceptor(JSObject* holder);
bool HasInterceptor(Map* map) const;
+ bool InternalHolderIsReceiverOrHiddenPrototype() const;
+ InterceptorInfo* GetInterceptor(JSObject* holder) const;
bool IsBootstrapping() const;
« no previous file with comments | « src/json-stringifier.h ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698