aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ManagedStatic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/ManagedStatic.cpp')
-rw-r--r--llvm/lib/Support/ManagedStatic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ManagedStatic.cpp b/llvm/lib/Support/ManagedStatic.cpp
index 5c8feaf..8de8ecd 100644
--- a/llvm/lib/Support/ManagedStatic.cpp
+++ b/llvm/lib/Support/ManagedStatic.cpp
@@ -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.