aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2011-04-01 00:06:01 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2011-04-01 00:06:01 +0000
commite3662cca5d204a3e0bceaead1b35361117630fab (patch)
tree3c4234e67bfe44af658e05d8710e0516e2d3f705
parentc3178f85b5b1e682a08ba23ef02fe15e21c6e345 (diff)
downloadexternal_llvm-e3662cca5d204a3e0bceaead1b35361117630fab.zip
external_llvm-e3662cca5d204a3e0bceaead1b35361117630fab.tar.gz
external_llvm-e3662cca5d204a3e0bceaead1b35361117630fab.tar.bz2
Remove unused variables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128692 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index dd9fa58..23d6125 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -1211,9 +1211,7 @@ tryParseMSRMaskOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
/// tryParseMemMode2Operand - Try to parse memory addressing mode 2 operand.
ARMAsmParser::OperandMatchResultTy ARMAsmParser::
tryParseMemMode2Operand(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
- SMLoc S = Parser.getTok().getLoc();
- const AsmToken &Tok = Parser.getTok();
- assert(Tok.is(AsmToken::LBrac) && "Token is not a \"[\"");
+ assert(Parser.getTok().is(AsmToken::LBrac) && "Token is not a \"[\"");
if (ParseMemory(Operands, ARMII::AddrMode2))
return MatchOperand_NoMatch;