[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 17 19:23:05 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32AsmPrinter.cpp updated: 1.51 -> 1.52
---
Log message:
Rename var
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp:1.51 llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp:1.52
--- llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp:1.51 Tue Aug 17 14:26:03 2004
+++ llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp Tue Aug 17 21:22:55 2004
@@ -45,7 +45,7 @@
PPC32AsmPrinter(std::ostream &O, TargetMachine &TM)
: AsmPrinter(O, TM), LabelNumber(0) {
- CommentChar = ";";
+ CommentString = ";";
GlobalPrefix = "_";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit
@@ -123,7 +123,7 @@
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
O << "\t.const\n";
emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
- O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentChar
+ O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
<< *CP[i] << "\n";
emitGlobalConstant(CP[i]);
}
@@ -150,7 +150,7 @@
I != E; ++I) {
// Print a label for the basic block.
O << ".LBB" << CurrentFnName << "_" << I->getNumber() << ":\t"
- << CommentChar << " " << I->getBasicBlock()->getName() << "\n";
+ << CommentString << " " << I->getBasicBlock()->getName() << "\n";
for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end();
II != E; ++II) {
// Print the assembly for the instruction.
More information about the llvm-commits
mailing list