Author: Manuel Jacob
Branch: llvm-translation-backend
Changeset: r68813:ac260e03714e
Date: 2014-01-21 15:32 +0100
http://bitbucket.org/pypy/pypy/changeset/ac260e03714e/

Log:    Remove this hack until something better comes into my mind.

diff --git a/rpython/rtyper/raisingops.py b/rpython/rtyper/raisingops.py
--- a/rpython/rtyper/raisingops.py
+++ b/rpython/rtyper/raisingops.py
@@ -81,7 +81,7 @@
     else:
         return x
 
-def _int_add_ovf(x, y):
+def int_add_ovf(x, y):
     '''#define OP_INT_ADD_OVF(x,y,r,err) \
         OP_INT_ADD(x,y,r,err); \
         if ((r^(x)) >= 0 || (r^(y)) >= 0); \
@@ -93,7 +93,7 @@
     else:
         raise OverflowError("integer addition")
 
-def _int_add_nonneg_ovf(x, y):
+def int_add_nonneg_ovf(x, y):
     '''
     OP_INT_ADD(x,y,r); \
     if (r >= (x)); \
@@ -105,7 +105,7 @@
     else:
         raise OverflowError("integer addition")
 
-def _int_sub_ovf(x, y):
+def int_sub_ovf(x, y):
     '''#define OP_INT_SUB_OVF(x,y,r,err) \
         OP_INT_SUB(x,y,r,err); \
         if ((r^(x)) >= 0 || (r^~(y)) >= 0); \
@@ -275,7 +275,7 @@
 #        raise OverflowError("integer multiplication")
 
 #not HAVE_LONG_LONG version
-def _int_mul_ovf(a, b):          #long a, long b, long *longprod):
+def int_mul_ovf(a, b):          #long a, long b, long *longprod):
     longprod = a * b
     doubleprod = float(a) * float(b)
     doubled_longprod = float(longprod)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to