Comment #5 on issue 2306 by [email protected]: Unexpected bounds-check
bailout accesing Int8Array
http://code.google.com/p/v8/issues/detail?id=2306
Ah, I'd assumed my code was calling lhu with a mix of SMIs and HeapNumbers,
but it sounds like it's just always generating HeapNumbers, and lhu just
instantly deopts the first time it's called.
If I do this:
value = lhu(ram, (addr + 0x80000000) |0);
Then the repeated deopts go away. (I'll have to rethink and see if I can
eliminate the HeapNumber entirely)
Thanks.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev