projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c4ca1
)
really fix PR1581, thanks to Daniel Dunbar for pointing
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Sep 2007 20:50:50 +0000
(20:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Sep 2007 20:50:50 +0000
(20:50 +0000)
this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42448
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/DynamicLibrary.cpp
patch
|
blob
|
history
diff --git
a/lib/System/DynamicLibrary.cpp
b/lib/System/DynamicLibrary.cpp
index a076e3c760ba02d1c25a2eaf86968ff756e04278..b06f6b08be9398bddfe54cc0c54c3d62cef754ad 100644
(file)
--- a/
lib/System/DynamicLibrary.cpp
+++ b/
lib/System/DynamicLibrary.cpp
@@
-62,7
+62,7
@@
DynamicLibrary::DynamicLibrary() : handle(0) {
lt_dlhandle a_handle = lt_dlopen(0);
- assert(a_handle
== 0
&& "Can't open program as dynamic library");
+ assert(a_handle && "Can't open program as dynamic library");
handle = a_handle;
OpenedHandles.push_back(a_handle);