X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fescape_ana.c;h=6f4acd963d4b02127e8505ecb722dc4480ab20d7;hb=a619ce99e40de4eb4481a590970a881e9f24627a;hp=8c3d0f816b6f12c4e04b8ef2e97f3d35916f39ad;hpb=e6fe124472509e07fa3f2b60fe3cc0b87f94dc27;p=libfirm diff --git a/ir/opt/escape_ana.c b/ir/opt/escape_ana.c index 8c3d0f816..6f4acd963 100644 --- a/ir/opt/escape_ana.c +++ b/ir/opt/escape_ana.c @@ -47,6 +47,7 @@ #include "ircons.h" #include "irprintf.h" #include "debug.h" +#include "error.h" /** * walker environment @@ -91,16 +92,14 @@ static int is_method_leaving_raise(ir_node *raise) /* Hmm: no ProjX from a Raise? This should be a verification * error. For now we just assert and return. */ - assert(! "No ProjX after Raise found"); - return 1; + panic("No ProjX after Raise found"); } if (get_irn_n_outs(proj) != 1) { /* Hmm: more than one user of ProjX: This is a verification * error. */ - assert(! "More than one user of ProjX"); - return 1; + panic("More than one user of ProjX"); } n = get_irn_out(proj, 0);