aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Medic <Vladimir.Medic@imgtec.com>2013-09-10 09:39:55 +0000
committerVladimir Medic <Vladimir.Medic@imgtec.com>2013-09-10 09:39:55 +0000
commit798cdc6af1bf2877a941bba4587e6bf72f5d140d (patch)
treec6abf9e2b15836af77df8c79765ac308a550739c
parent86942d20b9ca8861207edd49eba13939dfec230a (diff)
downloadexternal_llvm-798cdc6af1bf2877a941bba4587e6bf72f5d140d.zip
external_llvm-798cdc6af1bf2877a941bba4587e6bf72f5d140d.tar.gz
external_llvm-798cdc6af1bf2877a941bba4587e6bf72f5d140d.tar.bz2
Remove obsolete code from MipsAsmParser.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190396 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 7214cb5..2aa90c7 100644
--- a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -52,14 +52,6 @@ private:
namespace {
class MipsAsmParser : public MCTargetAsmParser {
- enum FpFormatTy {
- FP_FORMAT_NONE = -1,
- FP_FORMAT_S,
- FP_FORMAT_D,
- FP_FORMAT_L,
- FP_FORMAT_W
- } FpFormat;
-
MCSubtargetInfo &STI;
MCAsmParser &Parser;
MipsAssemblerOptions Options;
@@ -202,8 +194,6 @@ class MipsAsmParser : public MCTargetAsmParser {
int regKindToRegClass(int RegKind);
- FpFormatTy getFpFormat() {return FpFormat;}
-
unsigned getReg(int RC, int RegNo);
int getATReg();
@@ -1437,18 +1427,6 @@ MipsAsmParser::parseRegs(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
Operands.push_back(Op);
hasConsumedDollar = false;
Parser.Lex(); // Eat the register name.
- if ((RegKind == MipsOperand::Kind_GPR32)
- && (getLexer().is(AsmToken::LParen))) {
- // Check if it is indexed addressing operand.
- Operands.push_back(MipsOperand::CreateToken("(", getLexer().getLoc()));
- Parser.Lex(); // Eat the parenthesis.
- if (parseRegs(Operands,RegKind) != MatchOperand_Success)
- return MatchOperand_NoMatch;
- if (getLexer().isNot(AsmToken::RParen))
- return MatchOperand_NoMatch;
- Operands.push_back(MipsOperand::CreateToken(")", getLexer().getLoc()));
- Parser.Lex();
- }
return MatchOperand_Success;
} else if (getLexer().getKind() == AsmToken::Integer) {
unsigned RegNum = Parser.getTok().getIntVal();