projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8965219
)
Improved comment, small cosmetic.
author
Michael Beck
<mm.beck@gmx.net>
Tue, 31 May 2011 17:29:01 +0000
(19:29 +0200)
committer
Michael Beck
<mm.beck@gmx.net>
Thu, 9 Jun 2011 14:35:12 +0000
(16:35 +0200)
ir/be/bespillutil.c
patch
|
blob
|
history
diff --git
a/ir/be/bespillutil.c
b/ir/be/bespillutil.c
index
c5b3db9
..
d594a34
100644
(file)
--- a/
ir/be/bespillutil.c
+++ b/
ir/be/bespillutil.c
@@
-639,8
+639,8
@@
static ir_node *do_remat(spill_env_t *env, ir_node *spilled, ir_node *reloader)
ins[i] = arg;
} else {
ins[i] = do_remat(env, arg, reloader);
- /* don't count the
recursive call as
remat */
-
env->remat_count--
;
+ /* don't count the
argument rematerialization as an extra
remat */
+
--env->remat_count
;
}
}
@@
-657,7
+657,7
@@
static ir_node *do_remat(spill_env_t *env, ir_node *spilled, ir_node *reloader)
/* insert in schedule */
sched_reset(res);
sched_add_before(reloader, res);
-
env->remat_count++
;
+
++env->remat_count
;
}
return res;