/* Generate the two constants. A SymConst can not be constant evaluated. */
sym.type_p = new_type_class(new_id_from_str("SomeClass"));
a = new_Const (mode_Is, new_tarval_from_long (0, mode_Is));
- b = new_SymConst (sym, symconst_size);
+ b = new_SymConst (sym, symconst_type_size);
/* Generate the Conv with Bad as block */
a = new_Conv(b, mode_Ls);
mature_immBlock (get_irg_current_block(irg));
add_immBlock_pred (get_irg_end_block(irg), x);
mature_immBlock (get_irg_end_block(irg));
- finalize_cons (irg);
+ irg_finalize_cons (irg);
irg_vrfy(irg);
printf("Done building the graph. Dumping it.\n");