aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-12 20:45:03 +0000
committerChris Lattner <sabre@nondot.org>2009-09-12 20:45:03 +0000
commitb6a2fc080f47eabdcaabf0101e9ca7c95e9d8bdc (patch)
tree1c32b7ff26477d32bff9f9ff6d722bacc3ed888d /lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
parent8fea32f9ff5cec2165661a3da986abe29c9bddb1 (diff)
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
MBB labels like everything else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp')
-rw-r--r--lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
index 9841d708d8..2c0b5689ae 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
@@ -58,11 +58,6 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo) {
O << Op.getImm();
else if (Op.isExpr())
Op.getExpr()->print(O, MAI);
- else if (Op.isMBBLabel())
- // FIXME: Keep in sync with printBasicBlockLabel. printBasicBlockLabel
- // should eventually call into this code, not the other way around.
- O << MAI->getPrivateGlobalPrefix() << "BB" << Op.getMBBLabelFunction()
- << '_' << Op.getMBBLabelBlock();
else
llvm_unreachable("Unknown pcrel immediate operand");
}