diff options
author | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-19 11:37:01 +0000 |
---|---|---|
committer | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-19 11:37:01 +0000 |
commit | b0934ab7d811e23bf530371976b8b35f3242169c (patch) | |
tree | 11a0f1c5a9a90a6084360819fbc67b6933a11bc0 /lib/Target/MBlaze | |
parent | d7ace3f8d1b7216d7381c408b26259e1201f7c29 (diff) | |
download | external_llvm-b0934ab7d811e23bf530371976b8b35f3242169c.zip external_llvm-b0934ab7d811e23bf530371976b8b35f3242169c.tar.gz external_llvm-b0934ab7d811e23bf530371976b8b35f3242169c.tar.bz2 |
Remove dead code. Improve llvm_unreachable text. Simplify some control flow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r-- | lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.cpp b/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.cpp index 9d64cf2..f83e8ab 100644 --- a/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.cpp +++ b/lib/Target/MBlaze/MCTargetDesc/MBlazeMCTargetDesc.cpp @@ -83,12 +83,10 @@ static MCStreamer *createMCStreamer(const Target &T, StringRef TT, if (TheTriple.isOSDarwin()) { llvm_unreachable("MBlaze does not support Darwin MACH-O format"); - return NULL; } if (TheTriple.isOSWindows()) { llvm_unreachable("MBlaze does not support Windows COFF format"); - return NULL; } return createELFStreamer(Ctx, MAB, _OS, _Emitter, RelaxAll, NoExecStack); |