From e3f2b45b7e0b120a6c3e61d2df727f3eb1465aa0 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Fri, 21 Dec 2012 18:17:57 +0100 Subject: [PATCH] Fixed indentation. --- ir/ir/irverify.c | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/ir/ir/irverify.c b/ir/ir/irverify.c index a38f29b96..7a844d271 100644 --- a/ir/ir/irverify.c +++ b/ir/ir/irverify.c @@ -570,28 +570,27 @@ static int verify_node_Proj_Proj(const ir_node *p) break; } - case iro_Call: - { - ASSERT_AND_RET( - (proj >= 0 && mode_is_datab(mode)), - "wrong Proj from Proj from Call", 0); - mt = get_Call_type(predpred); - ASSERT_AND_RET(is_unknown_type(mt) || is_Method_type(mt), - "wrong call type on call", 0); - ASSERT_AND_RET( - (proj < (int)get_method_n_ress(mt)), - "More Projs for results than results in type.", 0); - ir_type *res_type = get_method_res_type(mt, proj); - /* value result */ - if ((mode_is_reference(mode)) && - (is_compound_type(res_type) || is_Array_type(res_type))) - break; + case iro_Call: { + ASSERT_AND_RET( + (proj >= 0 && mode_is_datab(mode)), + "wrong Proj from Proj from Call", 0); + ir_type *mt = get_Call_type(predpred); + ASSERT_AND_RET(is_unknown_type(mt) || is_Method_type(mt), + "wrong call type on call", 0); + ASSERT_AND_RET( + (proj < (int)get_method_n_ress(mt)), + "More Projs for results than results in type.", 0); + ir_type *res_type = get_method_res_type(mt, proj); + /* value result */ + if ((mode_is_reference(mode)) && + (is_compound_type(res_type) || is_Array_type(res_type))) + break; - ASSERT_AND_RET( - (mode == get_type_mode(get_method_res_type(mt, proj))), - "Mode of Proj from Call doesn't match mode of result type.", 0); - } + ASSERT_AND_RET( + (mode == get_type_mode(get_method_res_type(mt, proj))), + "Mode of Proj from Call doesn't match mode of result type.", 0); break; + } case iro_Tuple: /* We don't test */ -- 2.20.1