summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-18 02:22:55 +0000
committerChris Lattner <sabre@nondot.org>2004-08-18 02:22:55 +0000
commit10262ab3f17956a45be73c532be0ef9336cf0a92 (patch)
tree2248094b6a68a10f49017e57f15ba5296e281215 /llvm/lib/CodeGen/AsmPrinter.cpp
parentddc7e4863d3ff4250b0481668fa1bb51b596c3ac (diff)
downloadbcm5719-llvm-10262ab3f17956a45be73c532be0ef9336cf0a92.tar.gz
bcm5719-llvm-10262ab3f17956a45be73c532be0ef9336cf0a92.zip
Rename var
llvm-svn: 15897
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index 9d99bdc4cde..79580294a6e 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -225,21 +225,21 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
U.FVal = Val;
if (Data64bitsDirective)
- O << Data64bitsDirective << U.UVal << "\t" << CommentChar
+ O << Data64bitsDirective << U.UVal << "\t" << CommentString
<< " double value: " << Val << "\n";
else if (TD.isBigEndian()) {
O << Data32bitsDirective << unsigned(U.UVal >> 32)
- << "\t" << CommentChar << " double most significant word "
+ << "\t" << CommentString << " double most significant word "
<< Val << "\n";
O << Data32bitsDirective << unsigned(U.UVal)
- << "\t" << CommentChar << " double least significant word "
+ << "\t" << CommentString << " double least significant word "
<< Val << "\n";
} else {
O << Data32bitsDirective << unsigned(U.UVal)
- << "\t" << CommentChar << " double least significant word " << Val
+ << "\t" << CommentString << " double least significant word " << Val
<< "\n";
O << Data32bitsDirective << unsigned(U.UVal >> 32)
- << "\t" << CommentChar << " double most significant word " << Val
+ << "\t" << CommentString << " double most significant word " << Val
<< "\n";
}
return;
@@ -250,7 +250,7 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
} U;
U.FVal = Val;
- O << Data32bitsDirective << U.UVal << "\t" << CommentChar
+ O << Data32bitsDirective << U.UVal << "\t" << CommentString
<< " float " << Val << "\n";
return;
}
@@ -262,17 +262,17 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
O << Data64bitsDirective << Val << "\n";
else if (TD.isBigEndian()) {
O << Data32bitsDirective << unsigned(Val >> 32)
- << "\t" << CommentChar << " Double-word most significant word "
+ << "\t" << CommentString << " Double-word most significant word "
<< Val << "\n";
O << Data32bitsDirective << unsigned(Val)
- << "\t" << CommentChar << " Double-word least significant word "
+ << "\t" << CommentString << " Double-word least significant word "
<< Val << "\n";
} else {
O << Data32bitsDirective << unsigned(Val)
- << "\t" << CommentChar << " Double-word least significant word "
+ << "\t" << CommentString << " Double-word least significant word "
<< Val << "\n";
O << Data32bitsDirective << unsigned(Val >> 32)
- << "\t" << CommentChar << " Double-word most significant word "
+ << "\t" << CommentString << " Double-word most significant word "
<< Val << "\n";
}
return;
OpenPOWER on IntegriCloud