mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Fix PR1581, patch by Timo Savola
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d8e616b173
commit
6240ab5022
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user