Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9b57b368a673ac6613e2402505361caeb8202ff0..8d1edbf97dd5d5048bccfd042b40028fbe8190c0 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -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); |