Changes in directory llvm/lib/Support:

ManagedStatic.cpp updated: 1.2 -> 1.3
---
Log message:

Not all managedstatics need object pointers.


---
Diffs of the changes:  (+1 -1)

 ManagedStatic.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Support/ManagedStatic.cpp
diff -u llvm/lib/Support/ManagedStatic.cpp:1.2 
llvm/lib/Support/ManagedStatic.cpp:1.3
--- llvm/lib/Support/ManagedStatic.cpp:1.2      Fri Sep 29 13:43:14 2006
+++ llvm/lib/Support/ManagedStatic.cpp  Tue Feb 20 00:18:57 2007
@@ -30,7 +30,7 @@
 }
 
 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.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to