diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-24 04:16:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-24 04:16:34 +0000 |
commit | 00fcdfef0d65f5ee129da15f7e931b8d4466d97f (patch) | |
tree | f3f9043e27d8ee453c932ddd6d2460a7b33af11d /llvm/lib/CodeGen/AsmPrinter.cpp | |
parent | 8ebd2164eb16135baa2f56645c3c41abbd9ee389 (diff) | |
download | bcm5719-llvm-00fcdfef0d65f5ee129da15f7e931b8d4466d97f.tar.gz bcm5719-llvm-00fcdfef0d65f5ee129da15f7e931b8d4466d97f.zip |
rename method
llvm-svn: 25572
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 10ced4e24be..6f216b7c998 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter.cpp @@ -72,9 +72,10 @@ void AsmPrinter::SwitchSection(const char *NewSection, const GlobalValue *GV) { 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; |