Skip to content

Commit ee2d7a6

Browse files
committed
MIPS: Remove unneeded printImpl
Follow-up to 05a9ad9
1 parent 0bb4d9c commit ee2d7a6

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,3 @@ const MipsMCExpr *MipsMCExpr::createGpOff(MipsMCExpr::Specifier S,
3737
return create(S, create(Mips::S_NEG, create(Mips::S_GPREL, Expr, Ctx), Ctx),
3838
Ctx);
3939
}
40-
41-
void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const {
42-
if (MAI)
43-
MAI->printExpr(OS, *this);
44-
else // llc -asm-show-inst
45-
MipsELFMCAsmInfo(Triple(), MCTargetOptions()).printExpr(OS, *this);
46-
}

llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class MipsMCExpr : public MCSpecifierExpr {
2929
MCContext &Ctx);
3030
static const MipsMCExpr *createGpOff(Specifier S, const MCExpr *Expr,
3131
MCContext &Ctx);
32-
33-
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override;
3432
};
3533

3634
} // end namespace llvm

0 commit comments

Comments
 (0)