FYI
https://chromiumcodereview.appspot.com/10546166/diff/1/src/runtime.cc File src/runtime.cc (right): https://chromiumcodereview.appspot.com/10546166/diff/1/src/runtime.cc#newcode1319 src/runtime.cc:1319: } while (!lookup.IsFound() && obj->IsJSObject() && On 2012/06/14 13:16:28, Michael Starzinger wrote:
Can we move the "lookup.IsFound()" condition into the loop before
getting the
prototype? That would be cleaner IMHO ...
if (lookup.isFound()) break;
Also, there is no reason to get the prototype if lookup.IsFound() is true. Maybe the compiler is smart enough to realize that but why take that risk? https://chromiumcodereview.appspot.com/10546166/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
