Fix misplaced right parentheses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2009-01-05 17:17:04 +00:00
parent 84fb959489
commit 5951368409

View File

@ -123,9 +123,9 @@ void *JIT::getPointerToNamedFunction(const std::string &Name,
// First try turning $LDBLStub into $LDBL128. If that fails, strip it off.
// This mirrors logic in libSystemStubs.a.
std::string Prefix = std::string(Name.begin(), Name.end()-9);
if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128"), false)
if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128", false))
return Ptr;
if (void *Ptr = getPointerToNamedFunction(Prefix), false)
if (void *Ptr = getPointerToNamedFunction(Prefix, false))
return Ptr;
}
#endif