X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fplace_with_dead_block_example.c;h=fff01721a41a765a321352adf170ca9d35446fc3;hb=b9e131575dc650f56087033145174e94f0bdf5f8;hp=b64a78871d89d24a4fbb46d62830b51bbf9f24bb;hpb=2cd57a8b25d2cf8c34a1ee05bc2198a57ffdc0fc;p=libfirm diff --git a/testprograms/place_with_dead_block_example.c b/testprograms/place_with_dead_block_example.c index b64a78871..fff01721a 100644 --- a/testprograms/place_with_dead_block_example.c +++ b/testprograms/place_with_dead_block_example.c @@ -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);