Introduce a new ReplaceCallWith method, which simplifies a lot of code.
[oota-llvm.git] / lib / Support / ManagedStatic.cpp
index 5c8feaf554f952c0791bb7b319f2ce3d258c3277..8de8ecd69f14dcbea4829eb9987ac790320241b5 100644 (file)
@@ -30,7 +30,7 @@ void ManagedStaticBase::RegisterManagedStatic(void *ObjPtr,
 }
 
 void ManagedStaticBase::destroy() const {
-  assert(Ptr && DeleterFn && "ManagedStatic not initialized correctly!");
+  assert(DeleterFn && "ManagedStatic not initialized correctly!");
   assert(StaticList == this &&
          "Not destroyed in reverse order of construction?");
   // Unlink from list.