summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 18:21:35 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 18:21:35 +0000
commite1d8a319a16f5467117d6691b25145db929b9b68 (patch)
tree7e7dc2275a360345e4806206cbb7c2310b830f7f /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent94b993ed8acc7142a068ecf3f6325a8cb30301b1 (diff)
downloadbcm5719-llvm-e1d8a319a16f5467117d6691b25145db929b9b68.tar.gz
bcm5719-llvm-e1d8a319a16f5467117d6691b25145db929b9b68.zip
rename addComment -> AddComment for consistency.
llvm-svn: 94190
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 e12a66e7e41..5564fa16597 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1135,7 +1135,7 @@ static void EmitGlobalConstantFP(const ConstantFP *CFP, unsigned AddrSpace,
raw_svector_ostream OS(TmpBuffer);
double Val = CFP->getValueAPF().convertToDouble(); // for comment only
OS << "double " << Val;
- AP.OutStreamer.addComment(OS.str());
+ AP.OutStreamer.AddComment(OS.str());
}
uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
OpenPOWER on IntegriCloud