Remove unnecessary LookupIterator instantiation

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
This commit is contained in:
verwaest@chromium.org 2014-08-19 16:07:05 +00:00
parent 21b95cc356
commit f47ff8f1da

View 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);