* gimple.h (gimple_expr_code): Do checking on when gimple checking is enabled.
From-SVN: r161207
This commit is contained in:
parent
17bb3f185a
commit
b074e7833b
@ -1,3 +1,7 @@
|
||||
2010-06-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gimple.h (gimple_expr_code): Do checking on when gimple checking is enabled.
|
||||
|
||||
2010-06-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* df-problems.c (df_rd_confluence_n, df_lr_confluence_n, df_live_confluence_n,
|
||||
|
@ -1464,10 +1464,11 @@ gimple_expr_code (const_gimple stmt)
|
||||
enum gimple_code code = gimple_code (stmt);
|
||||
if (code == GIMPLE_ASSIGN || code == GIMPLE_COND)
|
||||
return (enum tree_code) stmt->gsbase.subcode;
|
||||
else if (code == GIMPLE_CALL)
|
||||
return CALL_EXPR;
|
||||
else
|
||||
gcc_unreachable ();
|
||||
{
|
||||
gcc_gimple_checking_assert (code == GIMPLE_CALL);
|
||||
return CALL_EXPR;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user