aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-01-31 23:51:09 +0000
committerJim Grosbach <grosbach@apple.com>2012-01-31 23:51:09 +0000
commit24dda217052b48373ed89d043a778aabb2f65080 (patch)
tree8dfa6b1c157b44b27c6b37b0bf0baa1c368c8438 /lib
parent7771583fc5753e0f62a7d7273c50aacc1fd53d93 (diff)
downloadexternal_llvm-24dda217052b48373ed89d043a778aabb2f65080.zip
external_llvm-24dda217052b48373ed89d043a778aabb2f65080.tar.gz
external_llvm-24dda217052b48373ed89d043a778aabb2f65080.tar.bz2
Tidy up. One more return type mismatch fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index b51c59d..414f9f5 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -2550,7 +2550,7 @@ tryParseRegisterWithWriteBack(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
const MCExpr *ImmVal;
if (getParser().ParseExpression(ImmVal))
- return MatchOperand_ParseFail;
+ return true;
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
if (!MCE)
return TokError("immediate value expected for vector index");