summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-10-17 18:48:30 +0000
committerChad Rosier <mcrosier@apple.com>2011-10-17 18:48:30 +0000
commit34957911e7a43cd3e8c7e50e2b34f995ec16a116 (patch)
tree7ca547c3ec43355028bcc3b85dcf8a6c78d4fb8f /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent1736c14b857c24f613d3e5d6daed725b0543e5f5 (diff)
downloadbcm5719-llvm-34957911e7a43cd3e8c7e50e2b34f995ec16a116.tar.gz
bcm5719-llvm-34957911e7a43cd3e8c7e50e2b34f995ec16a116.zip
Removed set, but unused variables.
Patch by Joe Abbey <jabbey@arxan.com>. llvm-svn: 142223
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 24f15b4694f..3e0aceecc12 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -1827,7 +1827,6 @@ int ARMAsmParser::tryParseRegister() {
Parser.Lex(); // Eat left bracket token.
const MCExpr *ImmVal;
- SMLoc ExprLoc = Parser.getTok().getLoc();
if (getParser().ParseExpression(ImmVal))
return MatchOperand_ParseFail;
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
@@ -1976,7 +1975,6 @@ tryParseRegisterWithWriteBack(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
Parser.Lex(); // Eat left bracket token.
const MCExpr *ImmVal;
- SMLoc ExprLoc = Parser.getTok().getLoc();
if (getParser().ParseExpression(ImmVal))
return MatchOperand_ParseFail;
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
OpenPOWER on IntegriCloud