[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp X86IntelAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 20 23:51:37 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.11 -> 1.12
X86AsmPrinter.cpp updated: 1.149 -> 1.150
X86IntelAsmPrinter.cpp updated: 1.7 -> 1.8
---
Log message:
Adjust to capitalized AsmPrinter method names
---
Diffs of the changes: (+9 -9)
X86ATTAsmPrinter.cpp | 4 ++--
X86AsmPrinter.cpp | 10 +++++-----
X86IntelAsmPrinter.cpp | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.11 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.12
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.11 Mon Nov 21 01:43:59 2005
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Mon Nov 21 01:51:23 2005
@@ -25,7 +25,7 @@
/// method to print assembly for each instruction.
///
bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- setupMachineFunction(MF);
+ SetupMachineFunction(MF);
O << "\n\n";
// Print out constants referenced by the function
@@ -33,7 +33,7 @@
// Print out labels for the function.
SwitchSection("\t.text\n", MF.getFunction());
- emitAlignment(4); // FIXME: This should be parameterized somewhere.
+ EmitAlignment(4); // FIXME: This should be parameterized somewhere.
O << "\t.globl\t" << CurrentFnName << "\n";
if (!forCygwin && !forDarwin)
O << "\t.type\t" << CurrentFnName << ", @function\n";
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.149 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.150
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.149 Mon Nov 21 01:16:34 2005
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Mon Nov 21 01:51:23 2005
@@ -90,12 +90,12 @@
// FIXME: force doubles to be naturally aligned. We should handle this
// more correctly in the future.
if (CP[i]->getType() == Type::DoubleTy)
- emitAlignment(3);
+ EmitAlignment(3);
else
- 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]);
}
}
@@ -149,7 +149,7 @@
break;
}
- emitAlignment(Align);
+ EmitAlignment(Align);
if (!forCygwin && !forDarwin) {
O << "\t.type " << name << ", at object\n";
O << "\t.size " << name << "," << Size << "\n";
@@ -159,7 +159,7 @@
O << " = ";
WriteAsOperand(O, C, false, false, &M);
O << "\n";
- emitGlobalConstant(C);
+ EmitGlobalConstant(C);
}
}
Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.7 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.8
--- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.7 Mon Nov 21 01:43:59 2005
+++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Mon Nov 21 01:51:23 2005
@@ -25,7 +25,7 @@
/// method to print assembly for each instruction.
///
bool X86IntelAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
- setupMachineFunction(MF);
+ SetupMachineFunction(MF);
O << "\n\n";
// Print out constants referenced by the function
@@ -33,7 +33,7 @@
// Print out labels for the function.
SwitchSection("\t.text\n", MF.getFunction());
- emitAlignment(4);
+ EmitAlignment(4);
O << "\t.globl\t" << CurrentFnName << "\n";
if (!forCygwin && !forDarwin)
O << "\t.type\t" << CurrentFnName << ", @function\n";
More information about the llvm-commits
mailing list