From: Christoph Mallon Date: Tue, 11 Nov 2008 12:29:38 +0000 (+0000) Subject: Remove duplicated test. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c8c9924f296052ae7842f14df2dda6088cd54824;p=libfirm Remove duplicated test. [r23559] --- diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c index bf83881f0..206bf3f49 100644 --- a/ir/be/ia32/ia32_new_nodes.c +++ b/ir/be/ia32/ia32_new_nodes.c @@ -1038,7 +1038,8 @@ init_ia32_condcode_attributes(ir_node *res, long pnc) { ***************************************************************************************/ /* default compare operation to compare attributes */ -int ia32_compare_attr(const ia32_attr_t *a, const ia32_attr_t *b) { +int ia32_compare_attr(const ia32_attr_t *a, const ia32_attr_t *b) +{ if (a->data.tp != b->data.tp) return 1; @@ -1060,9 +1061,6 @@ int ia32_compare_attr(const ia32_attr_t *a, const ia32_attr_t *b) { || a->frame_ent != b->frame_ent) return 1; - if (a->data.tp != b->data.tp) - return 1; - if (a->data.has_except_label != b->data.has_except_label) return 1;