summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-17 07:53:40 +0000
committerChris Lattner <sabre@nondot.org>2010-11-17 07:53:40 +0000
commit2a7f6fd9d458624939b850315521b770ca1ce0c4 (patch)
treec182f0501aed33cd2883aee32b705ddfc193445c /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parente925d6178568a70fab68adc4d0e878520a90ec16 (diff)
downloadbcm5719-llvm-2a7f6fd9d458624939b850315521b770ca1ce0c4.tar.gz
bcm5719-llvm-2a7f6fd9d458624939b850315521b770ca1ce0c4.zip
refactor the interface to EmitInlineAsm a bit, no functionality change.
llvm-svn: 119482
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index d1d01b630a7..81583088121 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -178,7 +178,7 @@ bool AsmPrinter::doInitialization(Module &M) {
if (!M.getModuleInlineAsm().empty()) {
OutStreamer.AddComment("Start of file scope inline assembly");
OutStreamer.AddBlankLine();
- EmitInlineAsm(M.getModuleInlineAsm()+"\n", 0/*no loc cookie*/);
+ EmitInlineAsm(M.getModuleInlineAsm()+"\n");
OutStreamer.AddComment("End of file scope inline assembly");
OutStreamer.AddBlankLine();
}
OpenPOWER on IntegriCloud