diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:53:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:53:07 +0000 |
commit | fe673d93511fef5aa4b1e275d00ea71ea4e94604 (patch) | |
tree | d96bfd9f06e0fbf236bfdc3ae32e072228128709 /lib/Target/CBackend/Writer.cpp | |
parent | a471e045b7cef5da428bdada4a362a4be671ef0b (diff) |
add tail marker as a comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/Writer.cpp')
-rw-r--r-- | lib/Target/CBackend/Writer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 2cd5644bb1..be124b0501 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -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))) { |