[pypy-svn] r76087 - pypy/trunk/pypy/jit/metainterp
benjamin at codespeak.net
benjamin at codespeak.net
Sat Jul 10 01:02:23 CEST 2010
Author: benjamin
Date: Sat Jul 10 01:02:21 2010
New Revision: 76087
Modified:
pypy/trunk/pypy/jit/metainterp/executor.py
Log:
want a pointer not an integer
Modified: pypy/trunk/pypy/jit/metainterp/executor.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/executor.py (original)
+++ pypy/trunk/pypy/jit/metainterp/executor.py Sat Jul 10 01:02:21 2010
@@ -91,7 +91,7 @@
return BoxInt(cpu.bh_getarrayitem_gc_i(arraydescr, array, index))
def do_getarrayitem_raw(cpu, _, arraybox, indexbox, arraydescr):
- array = arraybox.getint()
+ array = arraybox.getref_base()
index = indexbox.getint()
assert not arraydescr.is_array_of_pointers()
if arraydescr.is_array_of_floats():
More information about the Pypy-commit
mailing list