Reviewers: Jakob,
Message:
PTAL
Description:
Remove unnecessary LookupIterator instantiation
BUG=
Please review this at https://codereview.chromium.org/485113003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -2 lines):
M src/api.cc
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.