[pypy-commit] pypy default: Re-enable set slice drivers for numarrays for that the zjit tests succeed.

justinpeel noreply at buildbot.pypy.org
Thu Jul 21 19:40:08 CEST 2011


Author: Justin Peel <notmuchtotell at gmail.com>
Branch: 
Changeset: r45836:acad170d7ecf
Date: 2011-07-21 11:39 -0600
http://bitbucket.org/pypy/pypy/changeset/acad170d7ecf/

Log:	Re-enable set slice drivers for numarrays for that the zjit tests
	succeed.

diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -259,8 +259,8 @@
         i = start
         j = 0
         while i < stop:
-            #slice_driver1.jit_merge_point(signature=arr.signature,
-            #        step=step, stop=stop, i=i, j=j, arr=arr, storage=storage)
+            slice_driver1.jit_merge_point(signature=arr.signature,
+                    step=step, stop=stop, i=i, j=j, arr=arr, storage=storage)
             storage[i] = arr.eval(j)
             j += 1
             i += step
@@ -269,8 +269,8 @@
         i = start
         j = 0
         while i > stop:
-            #slice_driver2.jit_merge_point(signature=arr.signature,
-            #        step=step, stop=stop, i=i, j=j, arr=arr, storage=storage)
+            slice_driver2.jit_merge_point(signature=arr.signature,
+                    step=step, stop=stop, i=i, j=j, arr=arr, storage=storage)
             storage[i] = arr.eval(j)
             j += 1
             i += step


More information about the pypy-commit mailing list