Commit f47ff8f1 authored by verwaest@chromium.org's avatar verwaest@chromium.org

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
parent 21b95cc3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment