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

Unified Diff: src/lookup.h

Issue 1481103002: [proxies] Implement [[Set]]. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 5 years 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/js/proxy.js ('k') | src/messages.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 8486beceb3989c4d987c3ff0ca62a045fd468e8a..7d689560b8f7efa5d106d1018fd42c26faa3e9cb 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -206,6 +206,10 @@ class LookupIterator final BASE_EMBEDDED {
bool HolderIsReceiverOrHiddenPrototype() const;
+ bool check_prototype_chain() const {
+ return (configuration_ & kPrototypeChain) != 0;
+ }
+
/* ACCESS_CHECK */
bool HasAccess() const;
@@ -283,9 +287,6 @@ class LookupIterator final BASE_EMBEDDED {
bool check_interceptor() const {
return (configuration_ & kInterceptor) != 0;
}
- bool check_prototype_chain() const {
- return (configuration_ & kPrototypeChain) != 0;
- }
int descriptor_number() const {
DCHECK(has_property_);
DCHECK(!holder_map_->is_dictionary_map());
« no previous file with comments | « src/js/proxy.js ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698