Commit 108dfff3 authored by Michael Beck's avatar Michael Beck
Browse files

removed two not absolutely necessary const's preventing warnings on VC7

[r20889]
parent a169b4d8
...@@ -124,7 +124,7 @@ static void set_uses(ir_node *node) ...@@ -124,7 +124,7 @@ static void set_uses(ir_node *node)
} }
} }
void be_peephole_new_node(ir_node *const nw) void be_peephole_new_node(ir_node * nw)
{ {
be_liveness_introduce(lv, nw); be_liveness_introduce(lv, nw);
} }
...@@ -174,7 +174,7 @@ void be_peephole_before_exchange(const ir_node *old_node, ir_node *new_node) ...@@ -174,7 +174,7 @@ void be_peephole_before_exchange(const ir_node *old_node, ir_node *new_node)
be_liveness_remove(lv, old_node); be_liveness_remove(lv, old_node);
} }
void be_peephole_exchange(ir_node *const old, ir_node *const nw) void be_peephole_exchange(ir_node *old, ir_node *nw)
{ {
be_peephole_before_exchange(old, nw); be_peephole_before_exchange(old, nw);
sched_remove(old); sched_remove(old);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment