Hi David,

On Thu, Aug 18, 2011 at 4:50 PM, David Edelsohn <dje....@gmail.com> wrote:
> r8 and r9 are not initialized and point to whatever locations those
> registers happen to hold.

I think that the test is just wrong...  You need to load explicitly
the address of some CArray in r8 and r9, for example with:

p = lltype.malloc(rffi.CArray(lltype.Signed), 2)
a.load_word(8, rffi.cast(lltype.Signed, p))
a.load_word(9, rffi.cast(lltype.Signed, p) + (4-or-8))


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to