From c7af42732698afc889b4d53944a44c7ea4a7613f Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 9 Dec 2010 23:46:06 +0000 Subject: [PATCH] * config/tc-mips.c (macro) : Remove dedicated return points. --- gas/ChangeLog | 6 ++++++ gas/config/tc-mips.c | 15 +++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e018505c43c..ce56b30fc6e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2010-12-09 Maciej W. Rozycki + + * config/tc-mips.c (macro) + : Remove + dedicated return points. + 2010-12-09 Maciej W. Rozycki * config/tc-mips.c (macro) : Correct types used diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 045cf87de6a..0473b10d442 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -6144,37 +6144,32 @@ macro (struct mips_cl_insn *ip) unsigned long temp = (treg << 16) | (0x01); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGLD: { unsigned long temp = (0x02); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGLD_T: { unsigned long temp = (treg << 16) | (0x02); macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_MSGWAIT: macro_build (NULL, "c2", "C", 3); - /* AT is not used, just return */ - return; + break; case M_MSGWAIT_T: { unsigned long temp = (treg << 16) | 0x03; macro_build (NULL, "c2", "C", temp); } - /* AT is not used, just return */ - return; + break; case M_J_A: /* The j instruction may not be used in PIC code, since it -- 2.30.2