Fix PR1581, patch by Timo Savola

llvm-svn: 40616
This commit is contained in:
Chris Lattner 2007-07-31 06:00:51 +00:00
parent c6684bc0c5
commit 364439eb15
1 changed files with 1 additions and 1 deletions

View File

@ -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 == 0 && "Can't open program as dynamic library");
handle = a_handle;
OpenedHandles.push_back(a_handle);