- add an extra filed for the bit offset\n- renamed access functions\n- renamed entity...
[libfirm] / testprograms / place_with_dead_block_example.c
index 6884ccc..fff0172 100644 (file)
@@ -90,7 +90,7 @@ int main(int argc, char **argv)
   /* 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);
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
   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");