Adapted to API changes of new_ir_op
authorAdam Szalkowski <adam@ipd.info.uni-karlsruhe.de>
Thu, 20 Oct 2005 13:21:16 +0000 (13:21 +0000)
committerAdam Szalkowski <adam@ipd.info.uni-karlsruhe.de>
Thu, 20 Oct 2005 13:21:16 +0000 (13:21 +0000)
ir/be/bearch_firm.c
ir/be/benode.c

index 94bbe18..ef5cbfc 100644 (file)
@@ -86,7 +86,7 @@ static void firm_init(void)
                int push_opc = get_next_ir_opcode();
 
                op_push = new_ir_op(push_opc, "Push",
-                               op_pin_state_pinned, 0, oparity_binary, 0, 0);
+                               op_pin_state_pinned, 0, oparity_binary, 0, 0, NULL);
 
                sig = rflct_signature_allocate(1, 3);
                rflct_signature_set_arg(sig, 0, 0, "Store", RFLCT_MC(Mem), 0, 0);
@@ -103,7 +103,7 @@ static void firm_init(void)
                int imm_opc = get_next_ir_opcode();
 
                op_imm = new_ir_op(imm_opc, "Imm",
-                               op_pin_state_pinned, 0, oparity_zero, 0, sizeof(imm_attr_t));
+                               op_pin_state_pinned, 0, oparity_zero, 0, sizeof(imm_attr_t), NULL);
 
                sig = rflct_signature_allocate(1, 1);
                rflct_signature_set_arg(sig, 0, 0, "Imm", RFLCT_MC(Data), 0, 0);
index 714bb17..9285525 100644 (file)
@@ -369,7 +369,7 @@ be_node_factory_t *be_node_factory_init(be_node_factory_t *factory,
     ent = get_op(factory, cls, node_kind_spill);
     snprintf(buf, sizeof(buf), "Spill_%s", cls->name);
     ent->op = new_ir_op(get_next_ir_opcode(), buf, op_pin_state_pinned,
-        0, oparity_unary, 0, 0);
+        0, oparity_unary, 0, 0, NULL);
     ent->n_pos = ARRSIZE(templ_pos_Spill);
     ent->pos = templ_pos_Spill;
     pmap_insert(factory->irn_op_map, ent->op, ent);
@@ -377,7 +377,7 @@ be_node_factory_t *be_node_factory_init(be_node_factory_t *factory,
     ent = get_op(factory, cls, node_kind_reload);
     snprintf(buf, sizeof(buf), "Reload_%s", cls->name);
     ent->op = new_ir_op(get_next_ir_opcode(), buf, op_pin_state_pinned, 0,
-        oparity_unary, 0, sizeof(const arch_register_t *));
+        oparity_unary, 0, sizeof(const arch_register_t *), NULL);
     ent->n_pos = ARRSIZE(templ_pos_Reload);
     ent->pos = templ_pos_Reload;
     pmap_insert(factory->irn_op_map, ent->op, ent);
@@ -385,7 +385,7 @@ be_node_factory_t *be_node_factory_init(be_node_factory_t *factory,
     ent = get_op(factory, cls, node_kind_copy);
     snprintf(buf, sizeof(buf), "Copy_%s", cls->name);
     ent->op = new_ir_op(get_next_ir_opcode(), buf, op_pin_state_pinned, 0,
-        oparity_unary, 0, sizeof(const arch_register_t *));
+        oparity_unary, 0, sizeof(const arch_register_t *), NULL);
     ent->n_pos = ARRSIZE(templ_pos_Copy);
     ent->pos = templ_pos_Copy;
     pmap_insert(factory->irn_op_map, ent->op, ent);
@@ -393,7 +393,7 @@ be_node_factory_t *be_node_factory_init(be_node_factory_t *factory,
     ent = get_op(factory, cls, node_kind_perm);
     snprintf(buf, sizeof(buf), "Perm_%s", cls->name);
     ent->op = new_ir_op(get_next_ir_opcode(), buf, op_pin_state_pinned, 0,
-        oparity_variable, 0, sizeof(const arch_register_t) * cls->n_regs);
+        oparity_variable, 0, sizeof(const arch_register_t) * cls->n_regs, NULL);
     ent->n_pos = 2 * cls->n_regs;
     ent->pos = obstack_alloc(&factory->obst, sizeof(ent->pos[0]) * ent->n_pos);
     for(j = 0; j < ent->n_pos; j += 2) {