projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not mark the transformed as visited. It makes no sense at all.
[libfirm]
/
ir
/
ir
/
irmode_t.h
diff --git
a/ir/ir/irmode_t.h
b/ir/ir/irmode_t.h
index
2e04a62
..
71ba15f
100644
(file)
--- a/
ir/ir/irmode_t.h
+++ b/
ir/ir/irmode_t.h
@@
-42,29
+42,29
@@
_get_modeP_code(void) { return mode_P_code; }
static INLINE ir_mode *
_get_modeP_data(void) { return mode_P_data; }
static INLINE ir_mode *
_get_modeP_data(void) { return mode_P_data; }
-static INLINE modecode
+static INLINE
ir_
modecode
_get_mode_modecode(const ir_mode *mode) { return mode->code; }
static INLINE ident *
_get_mode_ident(const ir_mode *mode) { return mode->name; }
_get_mode_modecode(const ir_mode *mode) { return mode->code; }
static INLINE ident *
_get_mode_ident(const ir_mode *mode) { return mode->name; }
-static INLINE mode_sort
-_get_mode_sort(const ir_mode
*
mode) { return mode->sort; }
+static INLINE
ir_
mode_sort
+_get_mode_sort(const ir_mode
*
mode) { return mode->sort; }
-static INLINE
int
+static INLINE
unsigned
_get_mode_size_bits(const ir_mode *mode) { return mode->size; }
_get_mode_size_bits(const ir_mode *mode) { return mode->size; }
-static INLINE
int
+static INLINE
unsigned
_get_mode_size_bytes(const ir_mode *mode) {
_get_mode_size_bytes(const ir_mode *mode) {
-
int
size = _get_mode_size_bits(mode);
- if ((size & 7) != 0) return -1;
+
unsigned
size = _get_mode_size_bits(mode);
+ if ((size & 7) != 0) return
(unsigned)
-1;
return size >> 3;
}
static INLINE int
_get_mode_sign(const ir_mode *mode) { return mode->sign; }
return size >> 3;
}
static INLINE int
_get_mode_sign(const ir_mode *mode) { return mode->sign; }
-static INLINE mode_arithmetic
+static INLINE
ir_
mode_arithmetic
_get_mode_arithmetic(const ir_mode *mode) { return mode->arithmetic; }
static INLINE unsigned int
_get_mode_arithmetic(const ir_mode *mode) { return mode->arithmetic; }
static INLINE unsigned int
@@
-79,7
+79,7
@@
_get_mode_link(const ir_mode *mode) { return mode->link; }
static INLINE void
_set_mode_link(ir_mode *mode, void *l) { mode->link = l; }
static INLINE void
_set_mode_link(ir_mode *mode, void *l) { mode->link = l; }
-/* Functions to check, whether a modecode is signed, float, int, num, data,
+/* Functions to check, whether a
ir_
modecode is signed, float, int, num, data,
datab or dataM. For more exact definitions read the corresponding pages
in the firm documentation or the following enumeration
datab or dataM. For more exact definitions read the corresponding pages
in the firm documentation or the following enumeration