Revision: 21931
Author:   [email protected]
Date:     Mon Jun 23 10:44:08 2014 UTC
Log:      Tiny cleanup, reduce direct usage of the LookupIterator

BUG=
[email protected]

Review URL: https://codereview.chromium.org/346233003
http://code.google.com/p/v8/source/detail?r=21931

Modified:
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Mon Jun 23 10:42:49 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc      Mon Jun 23 10:44:08 2014 UTC
@@ -10936,9 +10936,8 @@
   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;
 }

--
--
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.

Reply via email to