From: Evan Cheng Date: Mon, 5 Jan 2009 17:17:04 +0000 (+0000) Subject: Fix misplaced right parentheses. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5951368409eef4e72ce9292fcc1f25807710f8e5;p=oota-llvm.git Fix misplaced right parentheses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61699 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/JIT/Intercept.cpp b/lib/ExecutionEngine/JIT/Intercept.cpp index 1590925b044..ddc9f1303e8 100644 --- a/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/lib/ExecutionEngine/JIT/Intercept.cpp @@ -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