Use corresponding macro.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:30:24 +0000 (18:30 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 20 Apr 2011 16:37:04 +0000 (18:37 +0200)
ir/ir/iropt.c

index 2de4ec1..f6b38c8 100644 (file)
@@ -5892,11 +5892,8 @@ static ir_op_ops *firm_set_default_transform_node(ir_opcode code, ir_op_ops *ops
        CASE_PROJ(Store);
        CASE_PROJ_EX(Cond);
        CASE_PROJ_EX(Div);
+       CASE_PROJ_EX(Load);
        CASE_PROJ_EX(Mod);
-       case iro_Load:
-               ops->transform_node      = transform_node_Load;
-               ops->transform_node_Proj = transform_node_Proj_Load;
-               break;
        default:
          /* leave NULL */;
        }