[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri May 6 10:13:35 PDT 2005
Changes in directory llvm/lib/Transforms/Utils:
InlineFunction.cpp updated: 1.32 -> 1.33
---
Log message:
BAD typeo which caused many testsuite failures last night. Note to self, do
not change code after testing it without retesting!
---
Diffs of the changes: (+1 -1)
InlineFunction.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Utils/InlineFunction.cpp
diff -u llvm/lib/Transforms/Utils/InlineFunction.cpp:1.32 llvm/lib/Transforms/Utils/InlineFunction.cpp:1.33
--- llvm/lib/Transforms/Utils/InlineFunction.cpp:1.32 Fri May 6 01:47:52 2005
+++ llvm/lib/Transforms/Utils/InlineFunction.cpp Fri May 6 12:13:16 2005
@@ -50,7 +50,7 @@
// 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();
More information about the llvm-commits
mailing list