summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-17 23:42:01 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-17 23:42:01 +0000
commitccfae86da1e78e5985bdc9d64d1116c539cf19ba (patch)
tree2fe13efbf328719f6192477a77f9bcda4a951896 /lib
parentbed9711ca81e2bfe24df46ae2147417df4b3902e (diff)
downloadllvm-ccfae86da1e78e5985bdc9d64d1116c539cf19ba.tar.gz
llvm-ccfae86da1e78e5985bdc9d64d1116c539cf19ba.tar.bz2
llvm-ccfae86da1e78e5985bdc9d64d1116c539cf19ba.tar.xz
Remove false assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCAsmStreamer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
index 858228f3de..636da33f9d 100644
--- a/lib/MC/MCAsmStreamer.cpp
+++ b/lib/MC/MCAsmStreamer.cpp
@@ -1394,7 +1394,6 @@ void MCLSDADecoderAsmStreamer::EmitIntValue(uint64_t Value, unsigned Size,
InLSDA = (LSDASize == 0 || BytesRead < LSDASize);
} else {
// We're reading a ULEB128. Make it so!
- assert(Size == 1 && "Non-byte representation of a ULEB128?");
ULEB128Value.push_back(Value);
if ((Value & 0x80) == 0) {
@@ -1605,7 +1604,6 @@ MCStreamer *llvm::createAsmStreamer(MCContext &Context,
bool useCFI, MCInstPrinter *IP,
MCCodeEmitter *CE, TargetAsmBackend *TAB,
bool ShowInst) {
-#if 0
ExceptionHandling::ExceptionsType ET =
Context.getAsmInfo().getExceptionHandlingType();
@@ -1613,7 +1611,7 @@ MCStreamer *llvm::createAsmStreamer(MCContext &Context,
(ET == ExceptionHandling::SjLj || ET == ExceptionHandling::DwarfCFI))
return new MCLSDADecoderAsmStreamer(Context, OS, isVerboseAsm, useLoc,
useCFI, IP, CE, TAB, ShowInst);
-#endif
+
return new MCAsmStreamer(Context, OS, isVerboseAsm, useLoc, useCFI,
IP, CE, TAB, ShowInst);
}