X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeblocksched.c;h=872c63040cda974023d6f0121817a743d42dd8ff;hb=a4c23fb5fdcaf600f18b4fa7b7e104fa9b7dc514;hp=f0896253f6143db2b77845d5305d7647f8639c5a;hpb=e30e5834fd8c1c3a7d28fc66e99b91a84993bde8;p=libfirm diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c index f0896253f..872c63040 100644 --- a/ir/be/beblocksched.c +++ b/ir/be/beblocksched.c @@ -58,6 +58,7 @@ #include "beirgmod.h" #include "bemodule.h" #include "be.h" +#include "error.h" #include "lc_opts.h" #include "lc_opts_enum.h" @@ -114,7 +115,7 @@ typedef struct _edge_t { int pos; /**< number of cfg predecessor (target) */ double execfreq; /**< the frequency */ int highest_execfreq; /**< flag that indicates whether this edge is the edge with the highest - execfreq pointing away from this block */ + execfreq pointing away from this block */ } edge_t; typedef struct _blocksched_env_t { @@ -764,6 +765,6 @@ ir_node **be_create_block_schedule(ir_graph *irg, ir_exec_freq *execfreqs) #endif /* WITH_ILP */ } - assert(0 && "unknown blocksched algo"); + panic("unknown blocksched algo"); return NULL; }