Author: Armin Rigo <[email protected]>
Branch:
Changeset: r73895:466c7d4301d8
Date: 2014-10-10 18:55 +0200
http://bitbucket.org/pypy/pypy/changeset/466c7d4301d8/
Log: oups
diff --git a/rpython/translator/c/src/int.h b/rpython/translator/c/src/int.h
--- a/rpython/translator/c/src/int.h
+++ b/rpython/translator/c/src/int.h
@@ -48,6 +48,8 @@
#define OP_INT_BETWEEN(a,b,c,r) r = (((Unsigned)b - (Unsigned)a) \
< ((Unsigned)c - (Unsigned)a))
+#define OP_INT_FORCE_GE_ZERO(a,r) r = (0 > a) ? 0 : (a)
+
/* addition, subtraction */
#define OP_INT_ADD(x,y,r) r = (x) + (y)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit