[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 17 19:22:54 PDT 2004



Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.8 -> 1.9
---
Log message:

Rename var


---
Diffs of the changes:  (+10 -10)

Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.8 llvm/lib/CodeGen/AsmPrinter.cpp:1.9
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.8	Tue Aug 17 16:38:40 2004
+++ llvm/lib/CodeGen/AsmPrinter.cpp	Tue Aug 17 21:22:44 2004
@@ -225,21 +225,21 @@
       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 @@
       } U;
       U.FVal = Val;
       
-      O << Data32bitsDirective << U.UVal << "\t" << CommentChar
+      O << Data32bitsDirective << U.UVal << "\t" << CommentString
         << " float " << Val << "\n";
       return;
     }
@@ -262,17 +262,17 @@
         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;






More information about the llvm-commits mailing list