get_mode_arithmetic() returns a mode_arithmetic now
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 19 Jul 2007 15:20:50 +0000 (15:20 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 19 Jul 2007 15:20:50 +0000 (15:20 +0000)
[r15257]

ir/ir/irmode.c
ir/ir/irmode_t.h

index f4d029a..2e8bfd6 100644 (file)
@@ -411,7 +411,7 @@ int
        return _get_mode_sign(mode);
 }
 
-int
+mode_arithmetic
 (get_mode_arithmetic)(const ir_mode *mode) {
        return get_mode_arithmetic(mode);
 }
index 48b8647..24fd293 100644 (file)
@@ -64,7 +64,7 @@ _get_mode_size_bytes(const ir_mode *mode) {
 static INLINE int
 _get_mode_sign(const ir_mode *mode) { return mode->sign; }
 
-static INLINE int
+static INLINE mode_arithmetic
 _get_mode_arithmetic(const ir_mode *mode) { return mode->arithmetic; }
 
 static INLINE unsigned int