summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-06 17:13:16 +0000
committerChris Lattner <sabre@nondot.org>2005-05-06 17:13:16 +0000
commit3799ed83b4cb80695a81294da6a7d18cf0884f5e (patch)
tree52ac409740cee9725b636fec4ece3a5266cc91bf /lib/Transforms/Utils/InlineFunction.cpp
parent50a8a17e6525b75e8f307eb4fd39e223a83bbc03 (diff)
downloadllvm-3799ed83b4cb80695a81294da6a7d18cf0884f5e.tar.gz
llvm-3799ed83b4cb80695a81294da6a7d18cf0884f5e.tar.bz2
llvm-3799ed83b4cb80695a81294da6a7d18cf0884f5e.tar.xz
BAD typeo which caused many testsuite failures last night. Note to self, do
not change code after testing it without retesting! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 4513f54aa8..5ca9577c8c 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -50,7 +50,7 @@ bool llvm::InlineFunction(CallSite CS) {
// If the call to the callee is a non-tail call, we must clear the 'tail'
// flags on any calls that we inline.
bool MustClearTailCallFlags =
- isa<CallInst>(TheCall) || !cast<CallInst>(TheCall)->isTailCall();
+ isa<CallInst>(TheCall) && !cast<CallInst>(TheCall)->isTailCall();
BasicBlock *OrigBB = TheCall->getParent();
Function *Caller = OrigBB->getParent();