Remove unnecessary LookupIterator instantiation
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Aug 2014 16:07:05 +0000 (16:07 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Aug 2014 16:07:05 +0000 (16:07 +0000)
BUG=
R=aandrey@chromium.org

Review URL: https://codereview.chromium.org/485113003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23207 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/api.cc

index 9b57b36..8d1edbf 100644 (file)
@@ -4055,8 +4055,6 @@ Handle<Value> Function::GetDisplayName() const {
   i::Handle<i::String> property_name =
       isolate->factory()->InternalizeOneByteString(
           STATIC_ASCII_VECTOR("displayName"));
-  i::LookupIterator it(func, property_name,
-                       i::LookupIterator::CHECK_DERIVED_PROPERTY);
 
   i::Handle<i::Object> value =
       i::JSObject::GetDataProperty(func, property_name);