[pypy-svn] r25362 - pypy/branch/explicit-exceptions/translator/c/src
mwh at codespeak.net
mwh at codespeak.net
Wed Apr 5 13:13:26 CEST 2006
Author: mwh
Date: Wed Apr 5 13:13:24 2006
New Revision: 25362
Modified:
pypy/branch/explicit-exceptions/translator/c/src/int.h
Log:
merging of http://codespeak.net/svn/pypy/dist/pypy/translator/c/src/int.h
revisions 24785 to 25354:
------------------------------------------------------------------------
r25000 | arigo | 2006-03-25 19:19:57 +0100 (Sat, 25 Mar 2006) | 7 lines
Remove some of the division low-level operations.
Now we only have xxx_floordiv for integer types,
and float_truediv for floats. The high-level
operations are mapped to one of these, possibly
with conversions (inserted automagically by the
rtyper).
------------------------------------------------------------------------
Modified: pypy/branch/explicit-exceptions/translator/c/src/int.h
==============================================================================
--- pypy/branch/explicit-exceptions/translator/c/src/int.h (original)
+++ pypy/branch/explicit-exceptions/translator/c/src/int.h Wed Apr 5 13:13:24 2006
@@ -290,7 +290,7 @@
#define OP_LLONG_ADD OP_INT_ADD
#define OP_LLONG_SUB OP_INT_SUB
#define OP_LLONG_MUL OP_INT_MUL
-#define OP_LLONG_DIV OP_INT_DIV
+#define OP_LLONG_FLOORDIV OP_INT_FLOORDIV
#define OP_LLONG_EQ OP_INT_EQ
#define OP_LLONG_NE OP_INT_NE
More information about the Pypy-commit
mailing list