Author: David Schneider <[email protected]>
Branch:
Changeset: r58922:e29d77e9f9b4
Date: 2012-11-15 16:25 +0100
http://bitbucket.org/pypy/pypy/changeset/e29d77e9f9b4/
Log: Fix signatures for helper functions implementing instructions not
provided by the architecture on ARM
diff --git a/pypy/jit/backend/arm/arch.py b/pypy/jit/backend/arm/arch.py
--- a/pypy/jit/backend/arm/arch.py
+++ b/pypy/jit/backend/arm/arch.py
@@ -19,10 +19,10 @@
static int pypy__arm_int_div(int a, int b) {
return a/b;
}
-static uint pypy__arm_uint_div(uint a, uint b) {
+static unsigned int pypy__arm_uint_div(unsigned int a, unsigned int b) {
return a/b;
}
-static int pypy__arm_int_mod(uint a, uint b) {
+static int pypy__arm_int_mod(int a, int b) {
return a % b;
}
"""])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit