[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu May 5 23:53:24 PDT 2005



Changes in directory llvm/lib/Target/CBackend:

Writer.cpp updated: 1.236 -> 1.237
---
Log message:

add tail marker as a comment


---
Diffs of the changes:  (+1 -0)

 Writer.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.236 llvm/lib/Target/CBackend/Writer.cpp:1.237
--- llvm/lib/Target/CBackend/Writer.cpp:1.236	Wed Apr 20 11:05:03 2005
+++ llvm/lib/Target/CBackend/Writer.cpp	Fri May  6 01:53:07 2005
@@ -1542,6 +1542,7 @@
   // 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))) {






More information about the llvm-commits mailing list