Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index 97fd53522a91fbb5bf082d0e3100d31ac0f6f70c..5bce620abd1e0bacdbcfc08b4f7e3bd98d7d4b22 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -273,16 +273,6 @@ bool LookupIterator::HolderIsReceiverOrHiddenPrototype() const { |
} |
-bool LookupIterator::HolderIsNonGlobalHiddenPrototype() const { |
- if (!HolderIsReceiverOrHiddenPrototype()) return false; |
- Handle<Object> receiver = GetReceiver(); |
- Handle<JSReceiver> holder = GetHolder<JSReceiver>(); |
- if (receiver.is_identical_to(holder)) return false; |
- if (receiver->IsJSGlobalProxy()) return !holder->IsJSGlobalObject(); |
- return true; |
-} |
- |
- |
Handle<Object> LookupIterator::FetchValue() const { |
Object* result = NULL; |
Handle<JSObject> holder = GetHolder<JSObject>(); |