diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-06-17 23:42:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-06-17 23:42:01 +0000 |
commit | 804e6d191bb3a59995b2af0314ac54851a7588c6 (patch) | |
tree | 3c4d28a8005ef6730173c3c8e86cfde3fd627a70 /llvm/lib/MC/MCAsmStreamer.cpp | |
parent | becf3d3f292ef5721b756214bdc8829313964509 (diff) | |
download | bcm5719-llvm-804e6d191bb3a59995b2af0314ac54851a7588c6.tar.gz bcm5719-llvm-804e6d191bb3a59995b2af0314ac54851a7588c6.zip |
Remove false assertion.
llvm-svn: 133314
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 858228f3de4..636da33f9df 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/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); } |