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
This commit is contained in:
Chris Lattner 2005-05-06 17:13:16 +00:00
parent 50a8a17e65
commit 3799ed83b4

View File

@ -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();