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

Tiny cleanup, reduce direct usage of the LookupIterator

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21931 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e976bfa1
......@@ -10936,9 +10936,8 @@ RUNTIME_FUNCTION(Runtime_DebugNamedInterceptorPropertyValue) {
CONVERT_ARG_HANDLE_CHECKED(Name, name, 1);
Handle<Object> result;
LookupIterator it(obj, name, obj);
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
isolate, result, JSObject::GetProperty(&it));
isolate, result, JSObject::GetProperty(obj, name));
return *result;
}
......
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