From ccfae86da1e78e5985bdc9d64d1116c539cf19ba Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 17 Jun 2011 23:42:01 +0000 Subject: [PATCH] Remove false assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133314 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCAsmStreamer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 858228f3de4..636da33f9df 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); }