https://chromiumcodereview.appspot.com/24088003/diff/45001/src/hydrogen.h
File src/hydrogen.h (right):

https://chromiumcodereview.appspot.com/24088003/diff/45001/src/hydrogen.h#newcode1981
src/hydrogen.h:1981: return map_->instance_type() == JS_ARRAY_TYPE &&
We didn't do a lookup because that would find native accessors. What
HObjectAccess should we check? How would we build that one? It would
essentially do the same thing: check whether the map is JS_ARRAY and
whether the name of the property is "length". It's a special property,
just like string-length...

On 2013/09/17 15:46:29, titzer wrote:
I don't think we want to rely on the name here. Shouldn't we better
check the
ObjectAccess instead?

https://chromiumcodereview.appspot.com/24088003/

--
--
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/groups/opt_out.

Reply via email to