[pypy-svn] r76306 - pypy/trunk/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Wed Jul 21 23:36:29 CEST 2010


Author: fijal
Date: Wed Jul 21 23:36:27 2010
New Revision: 76306

Modified:
   pypy/trunk/pypy/jit/metainterp/executor.py
Log:
(hopefully) fix test_basic in x86 backend


Modified: pypy/trunk/pypy/jit/metainterp/executor.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/executor.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/executor.py	Wed Jul 21 23:36:27 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.getref_base()
+    array = arraybox.getint()
     index = indexbox.getint()
     assert not arraydescr.is_array_of_pointers()
     if arraydescr.is_array_of_floats():



More information about the Pypy-commit mailing list