mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
for consistency, allow a fallthrough if the final check returns null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -113,7 +113,8 @@ void *JIT::getPointerToNamedFunction(const std::string &Name) {
|
|||||||
std::string Prefix = std::string(Name.begin(), Name.end()-9);
|
std::string Prefix = std::string(Name.begin(), Name.end()-9);
|
||||||
if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128"))
|
if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128"))
|
||||||
return Ptr;
|
return Ptr;
|
||||||
return getPointerToNamedFunction(Prefix);
|
if (void *Ptr = getPointerToNamedFunction(Prefix))
|
||||||
|
return Ptr;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user