[llvm-commits] CVS: llvm/lib/Support/ManagedStatic.cpp

Chris Lattner sabre at nondot.org
Mon Feb 19 22:19:14 PST 2007



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.






More information about the llvm-commits mailing list