[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 20 23:51:37 PST 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaAsmPrinter.cpp updated: 1.24 -> 1.25
---
Log message:
Adjust to capitalized AsmPrinter method names
---
Diffs of the changes: (+6 -6)
AlphaAsmPrinter.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.24 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.25
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.24 Mon Nov 21 01:38:08 2005
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp Mon Nov 21 01:51:23 2005
@@ -169,7 +169,7 @@
/// method to print assembly for each instruction.
///
bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- setupMachineFunction(MF);
+ SetupMachineFunction(MF);
O << "\n\n";
// Print out constants referenced by the function
@@ -177,7 +177,7 @@
// Print out labels for the function.
SwitchSection("\t.section .text", MF.getFunction());
- emitAlignment(4);
+ EmitAlignment(4);
O << "\t.globl " << CurrentFnName << "\n";
O << "\t.ent " << CurrentFnName << "\n";
@@ -218,10 +218,10 @@
SwitchSection("\t.section .rodata", 0);
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
- emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
+ EmitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
O << PrivateGlobalPrefix << "CPI" << CurrentFnName << "_" << i
<< ":\t\t\t\t\t" << CommentString << *CP[i] << "\n";
- emitGlobalConstant(CP[i]);
+ EmitGlobalConstant(CP[i]);
}
}
@@ -285,7 +285,7 @@
abort();
}
- emitAlignment(Align);
+ EmitAlignment(Align);
O << "\t.type " << name << ", at object\n";
O << "\t.size " << name << "," << Size << "\n";
O << name << ":\t\t\t\t# ";
@@ -293,7 +293,7 @@
O << " = ";
WriteAsOperand(O, C, false, false, &M);
O << "\n";
- emitGlobalConstant(C);
+ EmitGlobalConstant(C);
}
}
More information about the llvm-commits
mailing list