From: Michael Beck Date: Tue, 8 Jul 2008 23:04:20 +0000 (+0000) Subject: - small indentation changes X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=32a00bce8f2e7dda0c17db9aacc16108263c23c5;p=libfirm - small indentation changes [r20377] --- diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index 0a41285e5..8b57031f2 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -536,11 +536,11 @@ int smaller_mode(const ir_mode *sm, const ir_mode *lm) { case irms_int_number: switch (get_mode_sort(lm)) { case irms_int_number: - if(get_mode_arithmetic(sm) != get_mode_arithmetic(lm)) + if (get_mode_arithmetic(sm) != get_mode_arithmetic(lm)) return 0; /* only two complement implemented */ - assert(get_mode_arithmetic(sm)==irma_twos_complement); + assert(get_mode_arithmetic(sm) == irma_twos_complement); /* integers are convertable if * - both have the same sign and lm is the larger one @@ -548,12 +548,12 @@ int smaller_mode(const ir_mode *sm, const ir_mode *lm) { * (one for the sign, one for the highest bit of sm) * - sm & lm are two_complement and lm has greater or equal number of bits */ - if(mode_is_signed(sm)) { - if(!mode_is_signed(lm)) + if (mode_is_signed(sm)) { + if (!mode_is_signed(lm)) return 0; return sm_bits <= lm_bits; } else { - if(mode_is_signed(lm)) { + if (mode_is_signed(lm)) { return sm_bits < lm_bits; } return sm_bits <= lm_bits;