OSDN Git Service

Fix misplaced right parentheses.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 5 Jan 2009 17:17:04 +0000 (17:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 5 Jan 2009 17:17:04 +0000 (17:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61699 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/Intercept.cpp

index 1590925..ddc9f13 100644 (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