OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1afbd0
)
Not all managedstatics need object pointers.
author
Chris Lattner
<sabre@nondot.org>
Tue, 20 Feb 2007 06:18:57 +0000
(06:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 20 Feb 2007 06:18:57 +0000
(06:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34444
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/ManagedStatic.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/ManagedStatic.cpp
b/lib/Support/ManagedStatic.cpp
index
5c8feaf
..
8de8ecd
100644
(file)
--- a/
lib/Support/ManagedStatic.cpp
+++ b/
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.