projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ia32_Minus64Bit needs no contraint copies.
[libfirm]
/
ir
/
opt
/
opt_osr.c
diff --git
a/ir/opt/opt_osr.c
b/ir/opt/opt_osr.c
index
8abe299
..
569d9d0
100644
(file)
--- a/
ir/opt/opt_osr.c
+++ b/
ir/opt/opt_osr.c
@@
-608,13
+608,12
@@
static int is_counter_iv(ir_node *iv, iv_env *env)
*/
static int check_users_for_reg_pressure(ir_node *iv, iv_env *env)
{
*/
static int check_users_for_reg_pressure(ir_node *iv, iv_env *env)
{
- ir_node *irn
, *header
;
+ ir_node *irn;
ir_node *have_user = NULL;
ir_node *have_cmp = NULL;
node_entry *e = get_irn_ne(iv, env);
scc *pscc = e->pscc;
ir_node *have_user = NULL;
ir_node *have_cmp = NULL;
node_entry *e = get_irn_ne(iv, env);
scc *pscc = e->pscc;
- header = e->header;
for (irn = pscc->head; irn != NULL; irn = e->next) {
const ir_edge_t *edge;
for (irn = pscc->head; irn != NULL; irn = e->next) {
const ir_edge_t *edge;
@@
-1275,6
+1274,8
@@
static void lftr(ir_graph *irg, iv_env *env)
*/
static void clear_and_fix(ir_node *irn, void *env)
{
*/
static void clear_and_fix(ir_node *irn, void *env)
{
+ (void)env;
+
set_irn_link(irn, NULL);
if (is_Proj(irn)) {
set_irn_link(irn, NULL);
if (is_Proj(irn)) {