aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-11-01 23:03:16 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-11-01 23:03:16 +0000
commitc06dec1422120f824d5d10a898527c75a48eaf5f (patch)
treef65c08dd542293bdd9adf48bbd11acf84304f73e /gas/config
parentd1c2e12c105d0492bd3e8fc8a20b136091518f88 (diff)
downloadgdb-c06dec1422120f824d5d10a898527c75a48eaf5f.zip
gdb-c06dec1422120f824d5d10a898527c75a48eaf5f.tar.gz
gdb-c06dec1422120f824d5d10a898527c75a48eaf5f.tar.bz2
* config/tc-mips.c (is_delay_slot_valid): Simplify expression.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 4f7ead9..024b864 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -2321,8 +2321,7 @@ is_delay_slot_valid (const struct mips_opcode *mo)
return TRUE;
if (mo->pinfo == INSN_MACRO)
- return ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0
- ? TRUE : FALSE);
+ return (history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0;
if ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_32BIT) != 0
&& micromips_insn_length (mo) != 4)
return FALSE;