projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b341b4
)
for consistency, allow a fallthrough if the final check returns null.
author
Chris Lattner
<sabre@nondot.org>
Wed, 28 Nov 2007 18:30:18 +0000
(18:30 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 28 Nov 2007 18:30:18 +0000
(18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44406
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/Intercept.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/Intercept.cpp
b/lib/ExecutionEngine/JIT/Intercept.cpp
index a4d0faa04ba3cc62a92b75e4434ceeae63481c08..642108422c1490baf156a263426eee65dd25480c 100644
(file)
--- a/
lib/ExecutionEngine/JIT/Intercept.cpp
+++ b/
lib/ExecutionEngine/JIT/Intercept.cpp
@@
-113,7
+113,8
@@
void *JIT::getPointerToNamedFunction(const std::string &Name) {
std::string Prefix = std::string(Name.begin(), Name.end()-9);
if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128"))
return Ptr;
- return getPointerToNamedFunction(Prefix);
+ if (void *Ptr = getPointerToNamedFunction(Prefix))
+ return Ptr;
}
#endif