X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flower%2Flower_calls.c;h=f65b3466739fcc88f62a80ebf7a0016c941ffc0e;hb=28e7b9ad610c6cdf23e8523649a0ae09e3e9e03e;hp=8c9fc6791c72550dc2fe68f6c970d310a0391742;hpb=43f61f31f03a0b2f37e2082dddfc7d3c845375d1;p=libfirm diff --git a/ir/lower/lower_calls.c b/ir/lower/lower_calls.c index 8c9fc6791..f65b34667 100644 --- a/ir/lower/lower_calls.c +++ b/ir/lower/lower_calls.c @@ -39,9 +39,10 @@ #include "irmemory.h" #include "irtools.h" #include "iroptimize.h" -#include "array.h" +#include "array_t.h" #include "pmap.h" #include "xmalloc.h" +#include "error.h" /** A type map for def_find_pointer_type. */ static pmap *type_map; @@ -124,7 +125,7 @@ static ir_type *create_modified_mtd_type(const lower_params_t *lp, ir_type *mtp) if (n_regs > 0) { /* this compound will be returned solely in registers */ - assert(0); + panic("Returning compounds in registers not yet implemented"); } else { /* this compound will be allocated on callers stack and its