[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 23 20:15:41 PST 2006
Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.38 -> 1.39
---
Log message:
rename method
---
Diffs of the changes: (+4 -3)
AsmPrinter.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.38 llvm/lib/CodeGen/AsmPrinter.cpp:1.39
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.38 Mon Jan 23 17:47:53 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp Mon Jan 23 22:15:29 2006
@@ -72,9 +72,10 @@
bool AsmPrinter::doInitialization(Module &M) {
Mang = new Mangler(M, GlobalPrefix);
- if (!M.getInlineAsm().empty())
- O << CommentString << " Start File Scope Asm Blocks:\n" << M.getInlineAsm()
- << "\n" << CommentString << " End File Scope Asm Blocks\n";
+ if (!M.getModuleInlineAsm().empty())
+ O << CommentString << " Start of file scope inline assembly\n"
+ << M.getModuleInlineAsm()
+ << "\n" << CommentString << " End of file scope inline assembly\n";
SwitchSection("", 0); // Reset back to no section.
return false;
More information about the llvm-commits
mailing list