[pypy-svn] r20894 - pypy/dist/pypy/translator/c/src
mwh at codespeak.net
mwh at codespeak.net
Thu Dec 8 14:17:39 CET 2005
Author: mwh
Date: Thu Dec 8 14:17:38 2005
New Revision: 20894
Modified:
pypy/dist/pypy/translator/c/src/int.h
Log:
(mwh, johahn)
more operations on long longs, enough for translate_pypy to work again.
simple tests suggest os.lseek (the only function so far that returns
a long long) works.
woohoo!
Modified: pypy/dist/pypy/translator/c/src/int.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/int.h (original)
+++ pypy/dist/pypy/translator/c/src/int.h Thu Dec 8 14:17:38 2005
@@ -281,6 +281,12 @@
#define OP_ULLONG_MUL OP_INT_MUL
+#define OP_LLONG_IS_TRUE OP_INT_IS_TRUE
+#define OP_LLONG_INVERT OP_INT_INVERT
+
+#define OP_LLONG_POS OP_INT_POS
+#define OP_LLONG_NEG OP_INT_NEG
+
#define OP_LLONG_ADD OP_INT_ADD
#define OP_LLONG_SUB OP_INT_SUB
#define OP_LLONG_MUL OP_INT_MUL
@@ -295,7 +301,10 @@
#define OP_LLONG_CMP OP_INT_CMP
-#define OP_LLONG_INVERT OP_INT_INVERT
#define OP_LLONG_AND OP_INT_AND
#define OP_LLONG_OR OP_INT_OR
#define OP_LLONG_XOR OP_INT_XOR
+
+#define OP_LLONG_ABS OP_INT_ABS
+#define OP_LLONG_RSHIFT OP_INT_RSHIFT
+#define OP_LLONG_LSHIFT OP_INT_LSHIFT
More information about the Pypy-commit
mailing list