[pypy-commit] pypy default: pff sorry

fijal noreply at buildbot.pypy.org
Wed Feb 22 17:05:37 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r52761:0e27c93ef49e
Date: 2012-02-22 09:05 -0700
http://bitbucket.org/pypy/pypy/changeset/0e27c93ef49e/

Log:	pff sorry

diff --git a/pypy/module/micronumpy/interp_support.py b/pypy/module/micronumpy/interp_support.py
--- a/pypy/module/micronumpy/interp_support.py
+++ b/pypy/module/micronumpy/interp_support.py
@@ -75,13 +75,13 @@
     fromstring_loop(a, count, dtype, itemsize, s)
     return space.wrap(a)
 
-fromstring_driver = jit.JitDriver(greens=[], reds=['a', 'count', 'itemsize',
-                                                   'dtype', 's'])
+fromstring_driver = jit.JitDriver(greens=[], reds=['a', 'count', 'i',
+                                                   'itemsize', 'dtype', 's'])
 
 def fromstring_loop(a, count, dtype, itemsize, s):
     for i in range(count):
         fromstring_driver.jit_merge_point(a=a, count=count, dtype=dtype,
-                                          itemsize=itemsize, s=s)
+                                          itemsize=itemsize, s=s, i=i)
         val = dtype.itemtype.runpack_str(s[i*itemsize:i*itemsize + itemsize])
         a.dtype.setitem(a.storage, i, val)
 


More information about the pypy-commit mailing list