summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7effa0ed06df121ea7bc80e58a9e323de0b67cef (patch)
treecb9262a00a2d98e48030a062c78a763ae8a367e2 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent18335f89257bd951b9c980b414ca7fe4deebc9f2 (diff)
downloadbcm5719-llvm-7effa0ed06df121ea7bc80e58a9e323de0b67cef.tar.gz
bcm5719-llvm-7effa0ed06df121ea7bc80e58a9e323de0b67cef.zip
BAD typeo which caused many testsuite failures last night. Note to self, do
not change code after testing it without retesting! llvm-svn: 21741
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 4513f54aa8b..5ca9577c8c1 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud