[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp X86AsmPrinter.h
Nate Begeman
natebegeman at mac.com
Tue May 2 10:35:03 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86AsmPrinter.cpp updated: 1.174 -> 1.175
X86AsmPrinter.h updated: 1.16 -> 1.17
---
Log message:
Hooray, everyone now uses the same printBasicBlockLabel implementation
---
Diffs of the changes: (+0 -16)
X86AsmPrinter.cpp | 12 ------------
X86AsmPrinter.h | 4 ----
2 files changed, 16 deletions(-)
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.174 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.175
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.174 Tue May 2 00:37:32 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Tue May 2 12:34:51 2006
@@ -206,18 +206,6 @@
return false; // success
}
-void X86SharedAsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
- bool printColon,
- bool printComment) const {
- O << PrivateGlobalPrefix << "BB"
- << Mang->getValueName(MBB->getParent()->getFunction()) << "_"
- << MBB->getNumber();
- if (printColon)
- O << ':';
- if (printComment)
- O << '\t' << CommentString << MBB->getBasicBlock()->getName();
-}
-
/// createX86CodePrinterPass - Returns a pass that prints the X86 assembly code
/// for a MachineFunction to the given output stream, using the given target
/// machine description.
Index: llvm/lib/Target/X86/X86AsmPrinter.h
diff -u llvm/lib/Target/X86/X86AsmPrinter.h:1.16 llvm/lib/Target/X86/X86AsmPrinter.h:1.17
--- llvm/lib/Target/X86/X86AsmPrinter.h:1.16 Tue May 2 00:37:32 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.h Tue May 2 12:34:51 2006
@@ -88,10 +88,6 @@
MI->getOperand(Op+3).isGlobalAddress() ||
MI->getOperand(Op+3).isConstantPoolIndex());
}
-
- virtual void printBasicBlockLabel(const MachineBasicBlock *MBB,
- bool printColon = false,
- bool printComment = true) const;
};
} // end namespace llvm
More information about the llvm-commits
mailing list