mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Typo noticed by Duncan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bb31bfaa3
commit
820580dfa9
@ -265,7 +265,7 @@ GenericValue Interpreter::callExternalFunction(Function *F,
|
||||
if (RF == RawFunctions->end()) {
|
||||
RawFn = (RawFunc)(intptr_t)
|
||||
sys::DynamicLibrary::SearchForAddressOfSymbol(F->getName());
|
||||
if (!RawnFn)
|
||||
if (!RawFn)
|
||||
RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F);
|
||||
if (RawFn != 0)
|
||||
RawFunctions->insert(std::make_pair(F, RawFn)); // Cache for later
|
||||
|
Loading…
Reference in New Issue
Block a user