projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dd93a
)
don't use __PTR_TO_INT from obstack.h... well the code is still using obstack interna...
author
Matthias Braun
<matze@braunis.de>
Mon, 18 Dec 2006 10:17:10 +0000
(10:17 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 18 Dec 2006 10:17:10 +0000
(10:17 +0000)
[r8474]
ir/ir/irmode.c
patch
|
blob
|
history
diff --git
a/ir/ir/irmode.c
b/ir/ir/irmode.c
index
8e2752b
..
d1b487b
100644
(file)
--- a/
ir/ir/irmode.c
+++ b/
ir/ir/irmode.c
@@
-28,6
+28,7
@@
# include "tv_t.h"
# include "obst.h"
# include "irhooks.h"
+# include "irtools.h"
#if 0
static long long count = 0;
@@
-76,12
+77,12
@@
INLINE static int modes_are_equal(const ir_mode *m, const ir_mode *n)
*/
static void *next_obstack_adr(struct obstack *o, void *p, size_t s)
{
- PTR_INT_TYPE adr =
__
PTR_TO_INT((char *)p);
+ PTR_INT_TYPE adr = PTR_TO_INT((char *)p);
int mask = obstack_alignment_mask(o);
adr += s + mask;
- return
__
INT_TO_PTR(adr & ~mask);
+ return INT_TO_PTR(adr & ~mask);
}
/**