[pypy-commit] pypy default: Fix: this is needed to JIT code that uses ll_ullong_py_mod_zer

arigo pypy.commits at gmail.com
Fri Sep 2 13:23:36 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r86845:01245dcd8f95
Date: 2016-09-02 19:23 +0200
http://bitbucket.org/pypy/pypy/changeset/01245dcd8f95/

Log:	Fix: this is needed to JIT code that uses ll_ullong_py_mod_zer

diff --git a/rpython/rtyper/rint.py b/rpython/rtyper/rint.py
--- a/rpython/rtyper/rint.py
+++ b/rpython/rtyper/rint.py
@@ -540,7 +540,7 @@
     def ll_ullong_py_mod_zer(x, y):
         if y == 0:
             raise ZeroDivisionError
-        return llop.ullong_mod(UnsignedLongLong, x, y)
+        return ll_ullong_py_mod(x, y)
 
 @jit.dont_look_inside
 def ll_lllong_py_mod(x, y):


More information about the pypy-commit mailing list