projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed debug output of unary x87 nodes
[libfirm]
/
ir
/
be
/
beifg_pointer.c
diff --git
a/ir/be/beifg_pointer.c
b/ir/be/beifg_pointer.c
index
c1b06e3
..
589e367
100644
(file)
--- a/
ir/be/beifg_pointer.c
+++ b/
ir/be/beifg_pointer.c
@@
-70,7
+70,7
@@
typedef struct _ptr_iter_t {
/* PRIVATE FUNCTIONS */
/* PRIVATE FUNCTIONS */
-static void *ptr_irn_data_init(phase_t *ph,
const
ir_node *irn, void *data)
+static void *ptr_irn_data_init(phase_t *ph, ir_node *irn, void *data)
{
ptr_head_t *head = phase_alloc(ph, sizeof(*head));
INIT_LIST_HEAD(&head->list);
{
ptr_head_t *head = phase_alloc(ph, sizeof(*head));
INIT_LIST_HEAD(&head->list);
@@
-597,8
+597,9
@@
static void ifg_pointer_free(void *self)
free(self);
}
free(self);
}
-static int ifg_pointer_connected(const
ifg_pointer_t *ifg
, const ir_node *a, const ir_node *b)
+static int ifg_pointer_connected(const
void *self
, const ir_node *a, const ir_node *b)
{
{
+ const ifg_pointer_t *ifg = self;
int connected = -1;
ptr_iter_t it;
ir_node *irn = NULL;
int connected = -1;
ptr_iter_t it;
ir_node *irn = NULL;