add tail marker as a comment

llvm-svn: 21739
This commit is contained in:
Chris Lattner 2005-05-06 06:53:07 +00:00
parent ec7773e9e8
commit 561b7eb9e1
1 changed files with 1 additions and 0 deletions

View File

@ -1542,6 +1542,7 @@ void CWriter::visitCallInst(CallInst &I) {
// match exactly.
//
bool WroteCallee = false;
if (I.isTailCall()) Out << " /*tail*/ ";
if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Callee))
if (CE->getOpcode() == Instruction::Cast)
if (Function *RF = dyn_cast<Function>(CE->getOperand(0))) {