mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
add tail marker as a comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21739 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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))) {
|
||||
|
Reference in New Issue
Block a user