Commit 169187fe authored by yb9976's avatar yb9976
Browse files

Delete strange switch cases.

We should never see an Id node and Call nodes should never have mode_X.
parent 8ca4adce
...@@ -78,11 +78,6 @@ static void dca_transfer(ir_node *irn, pdeq *q) ...@@ -78,11 +78,6 @@ static void dca_transfer(ir_node *irn, pdeq *q)
care_for(get_Return_res(irn, i), care, q); care_for(get_Return_res(irn, i), care, q);
care_for(get_Return_mem(irn), care, q); care_for(get_Return_mem(irn), care, q);
return; return;
case iro_Call:
for (int i = 0; i < get_Call_n_params(irn); i++)
care_for(get_Call_param(irn, i), care, q);
care_for(get_Call_mem(irn), care, q);
return;
case iro_Jmp: case iro_Jmp:
default: default:
for (int i = 0; i < get_irn_arity(irn); i++) for (int i = 0; i < get_irn_arity(irn); i++)
...@@ -171,7 +166,6 @@ static void dca_transfer(ir_node *irn, pdeq *q) ...@@ -171,7 +166,6 @@ static void dca_transfer(ir_node *irn, pdeq *q)
} }
case iro_Eor: case iro_Eor:
case iro_Confirm: case iro_Confirm:
case iro_Id:
care_for(get_irn_n(irn, 0), care, q); care_for(get_irn_n(irn, 0), care, q);
care_for(get_irn_n(irn, 1), care, q); care_for(get_irn_n(irn, 1), care, q);
return; return;
......
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