summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJonas Haag <jonas@lophus.org>2015-11-18 14:58:24 +0100
committerPhilipp Serrer <philipp@serrer.de>2018-01-18 17:53:16 +0100
commitd11335f4f8c877e43e7bda8ee98c8dfb27997f9f (patch)
treef50b594e2598d51884b0c5809eecc38b086b48a1
parentd2f9f7380222891302a7f5c3b93b29798001badc (diff)
Fix check for X_except blocks for epilogue generation
-rw-r--r--ir/be/ia32/ia32_bearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/ia32/ia32_bearch.c b/ir/be/ia32/ia32_bearch.c
index 73c02b1..da91a6e 100644
--- a/ir/be/ia32/ia32_bearch.c
+++ b/ir/be/ia32/ia32_bearch.c
@@ -1049,7 +1049,7 @@ static void introduce_prologue_epilogue(ir_graph *const irg, bool omit_fp)
{
/* introduce epilogue for every return node */
foreach_irn_in(get_irg_end_block(irg), i, pred) {
- if (is_x_except_Proj(pred)) {
+ if (is_x_except_branch(pred)) {
/* Don't generate any code for X_except ins */
} else {
assert(is_ia32_Return(pred));