projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made code C89 compliant (changed unnamed union in attributes)
[libfirm]
/
ir
/
be
/
bessadestr.c
diff --git
a/ir/be/bessadestr.c
b/ir/be/bessadestr.c
index
ca00cc5
..
ded0b43
100644
(file)
--- a/
ir/be/bessadestr.c
+++ b/
ir/be/bessadestr.c
@@
-134,7
+134,7
@@
static void insert_all_perms_walker(ir_node *bl, void *data) {
* Create a new Perm with the arguments just collected
* above in the arg_set and insert it into the schedule.
*/
* Create a new Perm with the arguments just collected
* above in the arg_set and insert it into the schedule.
*/
- in = malloc(n_projs * sizeof(in[0]));
+ in =
x
malloc(n_projs * sizeof(in[0]));
for(pp = set_first(arg_set); pp; pp = set_next(arg_set))
in[pp->pos] = pp->arg;
for(pp = set_first(arg_set); pp; pp = set_next(arg_set))
in[pp->pos] = pp->arg;
@@
-296,7
+296,7
@@
void be_ssa_destruction(be_chordal_env_t *chordal_env) {
pmap *perm_map = pmap_create();
ir_graph *irg = chordal_env->irg;
pmap *perm_map = pmap_create();
ir_graph *irg = chordal_env->irg;
-
dbg = firm_dbg_register(
"ir.be.ssadestr");
+
FIRM_DBG_REGISTER(dbg,
"ir.be.ssadestr");
/* create a map for fast lookup of perms: block --> perm */
chordal_env->data = perm_map;
/* create a map for fast lookup of perms: block --> perm */
chordal_env->data = perm_map;