Commit 78de2138 authored by Michael Beck's avatar Michael Beck
Browse files

- more simplification in skip_Tuple

[r24791]
parent dd93ec28
......@@ -2551,7 +2551,7 @@ skip_Tuple(ir_node *node) {
ir_op *op;
restart:
if (get_irn_op(node) == op_Proj) {
if (is_Proj(node)) {
pred = get_Proj_pred(node);
op = get_irn_op(pred);
......@@ -2561,9 +2561,8 @@ restart:
*/
if (op == op_Proj) { /* nested Tuple ? */
pred = skip_Tuple(pred);
op = get_irn_op(pred);
if (op == op_Tuple) {
if (is_Tuple(pred)) {
node = get_Tuple_pred(pred, get_Proj_proj(node));
goto restart;
}
......
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