aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-19 19:51:42 +0000
committerChris Lattner <sabre@nondot.org>2009-10-19 19:51:42 +0000
commit172862a2a74f5deace29e3baaf8a77f6bd2cecbe (patch)
tree9396d0e386d61c1eda367d39e473cb2c6cab3c34 /lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
parentebbcef945d33af5252486c1655ec6afdba4f97a7 (diff)
downloadexternal_llvm-172862a2a74f5deace29e3baaf8a77f6bd2cecbe.zip
external_llvm-172862a2a74f5deace29e3baaf8a77f6bd2cecbe.tar.gz
external_llvm-172862a2a74f5deace29e3baaf8a77f6bd2cecbe.tar.bz2
remove strings from instructions who are never asmprinted.
All of these "subreg32" modifier instructions are handled explicitly by the MCInst lowering phase. If they got to the asmprinter, they would explode. They should eventually be replace with correct use of subregs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp')
-rw-r--r--lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
index bc70ffe..8ec5b62 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
@@ -57,9 +57,7 @@ void X86ATTInstPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo) {
}
}
-void X86ATTInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
- const char *Modifier) {
- assert(Modifier == 0 && "Modifiers should not be used");
+void X86ATTInstPrinter::printOperand(const MCInst *MI, unsigned OpNo) {
const MCOperand &Op = MI->getOperand(OpNo);
if (Op.isReg()) {