[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 5 22:13:43 PST 2006
Changes in directory llvm/lib/Target/Sparc:
SparcAsmPrinter.cpp updated: 1.71 -> 1.72
---
Log message:
These asm printers shouldn't use assembly/writer.h
---
Diffs of the changes: (+1 -6)
SparcAsmPrinter.cpp | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
diff -u llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.71 llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.72
--- llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.71 Thu Nov 2 14:25:49 2006
+++ llvm/lib/Target/Sparc/SparcAsmPrinter.cpp Wed Dec 6 00:13:25 2006
@@ -17,7 +17,6 @@
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
-#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineConstantPool.h"
@@ -241,8 +240,6 @@
O << "\t.comm " << name << "," << TD->getTypeSize(C->getType())
<< "," << (unsigned)TD->getTypeAlignment(C->getType());
- O << "\t\t! ";
- WriteAsOperand(O, I, true, true, &M);
O << "\n";
} else {
switch (I->getLinkage()) {
@@ -284,9 +281,7 @@
O << "\t.align " << Align << "\n";
O << "\t.type " << name << ",#object\n";
O << "\t.size " << name << "," << Size << "\n";
- O << name << ":\t\t\t\t! ";
- WriteAsOperand(O, I, true, true, &M);
- O << "\n";
+ O << name << ":\n";
EmitGlobalConstant(C);
}
}
More information about the llvm-commits
mailing list