aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-31 16:41:07 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-31 16:41:07 +0000
commit5d04a560a875eef5cc7ae2bfadaf7d46ea8a60c5 (patch)
treec807b46265eb6f17ba4ea87fa26c2c54d09e092a /lib/Target/MBlaze
parentcb0848696d3ec604a00e7d88081a4d6c61a0dddd (diff)
downloadexternal_llvm-5d04a560a875eef5cc7ae2bfadaf7d46ea8a60c5.zip
external_llvm-5d04a560a875eef5cc7ae2bfadaf7d46ea8a60c5.tar.gz
external_llvm-5d04a560a875eef5cc7ae2bfadaf7d46ea8a60c5.tar.bz2
The ConvertToMCInst() function can't fail, so remove the now dead Match_ConversionFail enum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r--lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
index 38fb0e8..94e71d1 100644
--- a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
+++ b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
@@ -329,8 +329,6 @@ MatchAndEmitInstruction(SMLoc IDLoc,
return Error(IDLoc, "instruction use requires an option to be enabled");
case Match_MnemonicFail:
return Error(IDLoc, "unrecognized instruction mnemonic");
- case Match_ConversionFail:
- return Error(IDLoc, "unable to convert operands to instruction");
case Match_InvalidOperand:
ErrorLoc = IDLoc;
if (ErrorInfo != ~0U) {