summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/Intercept.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/Intercept.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
index 1590925b044..ddc9f1303e8 100644
--- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud