BAD typeo which caused many testsuite failures last night. Note to self, do

not change code after testing it without retesting!

llvm-svn: 21741
This commit is contained in:
Chris Lattner 2005-05-06 17:13:16 +00:00
parent 1bc2753d69
commit c9be572154

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