[pypy-commit] pypy numpy-record-dtypes: try different specialization

fijal noreply at buildbot.pypy.org
Tue Feb 7 13:13:54 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52167:c3e31b2f134c
Date: 2012-02-07 13:08 +0200
http://bitbucket.org/pypy/pypy/changeset/c3e31b2f134c/

Log:	try different specialization

diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -514,7 +514,7 @@
         assert n <= p
     return llop.int_between(lltype.Bool, n, m, p)
 
- at objectmodel.specialize.argtype(0)
+ at objectmodel.specialize.ll_and_arg(0)
 def byteswap(arg):
     """ Convert little->big endian and the opposite
     """


More information about the pypy-commit mailing list