[pypy-commit] pypy default: Unsure of this fix, but should help fix translation

arigo noreply at buildbot.pypy.org
Wed Apr 16 15:54:23 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r70656:28f12116ef3d
Date: 2014-04-16 15:53 +0200
http://bitbucket.org/pypy/pypy/changeset/28f12116ef3d/

Log:	Unsure of this fix, but should help fix translation

diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -442,7 +442,7 @@
         return v1 % v2
 
     @simple_binary_op
-    @jit.unroll_iff(lambda self, v1, v2: jit.isconstant(v2))
+    @jit.look_inside_iff(lambda self, v1, v2: jit.isconstant(v2))
     def pow(self, v1, v2):
         if v2 < 0:
             return 0


More information about the pypy-commit mailing list