projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add 'notail' marker for call instructions.
[oota-llvm.git]
/
lib
/
IR
/
AsmWriter.cpp
diff --git
a/lib/IR/AsmWriter.cpp
b/lib/IR/AsmWriter.cpp
index db757508594a2bcfdda37ef5c273b89caa0af220..2f8a3406a373c7863a699028697b0ddb4a6d6aaa 100644
(file)
--- a/
lib/IR/AsmWriter.cpp
+++ b/
lib/IR/AsmWriter.cpp
@@
-2768,6
+2768,8
@@
void AssemblyWriter::printInstruction(const Instruction &I) {
Out << "musttail ";
else if (CI->isTailCall())
Out << "tail ";
+ else if (CI->isNoTailCall())
+ Out << "notail ";
}
// Print out the opcode...