Commit 580889d6 authored by yb9976's avatar yb9976
Browse files

Use appropriate function.

parent 7412848a
......@@ -3571,7 +3571,7 @@ static ir_node *gen_Mux(ir_node *node)
ir_node *val_true = mux_true;
ir_node *val_false = mux_false;
if (is_Const(val_true) && is_Const_null(val_true)) {
if (is_Const_0(val_true)) {
ir_node *tmp = val_false;
val_false = val_true;
val_true = tmp;
......
Markdown is supported
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