Add emitThumbSet to the arm target streamer.
[oota-llvm.git] / include / llvm / MC / MCSymbolizer.h
index 64c2b38bf6f9bdb8e57362bf1e792d0b1eaadfcd..cbbb591f1b80cdb8084a7577043d63ab31602cce 100644 (file)
@@ -19,6 +19,7 @@
 #include "llvm/MC/MCRelocationInfo.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/DataTypes.h"
+#include <cassert>
 #include <memory>
 
 namespace llvm {
@@ -48,8 +49,6 @@ public:
   /// \brief Construct an MCSymbolizer, taking ownership of \p RelInfo.
   MCSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo)
     : Ctx(Ctx), RelInfo(std::move(RelInfo)) {
-    assert(this->RelInfo != nullptr &&
-           "Cannot construct MCSymbolizer without relocation info.");
   }
 
   virtual ~MCSymbolizer();