diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-09-06 19:22:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-09-06 19:22:17 +0000 |
| commit | a22a368e7cdf2a2fac208df83401c70c87a160ea (patch) | |
| tree | 6d47ffe930194376b130d9bfb71ac8d5d4d7bf23 /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
| parent | 8128ca1c2caed5af396556d85208d0f3966c3244 (diff) | |
| download | bcm5719-llvm-a22a368e7cdf2a2fac208df83401c70c87a160ea.tar.gz bcm5719-llvm-a22a368e7cdf2a2fac208df83401c70c87a160ea.zip | |
change MatchInstructionImpl to return an enum instead of bool.
llvm-svn: 113165
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index fef8eb08103..8507070fc66 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -83,7 +83,7 @@ private: bool MatchInstruction(SMLoc IDLoc, const SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCInst &Inst) { - if (!MatchInstructionImpl(Operands, Inst)) + if (MatchInstructionImpl(Operands, Inst) == Match_Success) return false; // FIXME: We should give nicer diagnostics about the exact failure. |

