Fix a lot of confusion around inserting nops on empty functions.
[oota-llvm.git] / lib / Target / Sparc / SparcInstrInfo.cpp
index 6836d8d6f6870f22028012ba00fb9bd9d2e910f8..8b2e6bc5f32fbc177cf84e273e9b50df0bf1f8f8 100644 (file)
@@ -37,11 +37,6 @@ SparcInstrInfo::SparcInstrInfo(SparcSubtarget &ST)
     RI(ST), Subtarget(ST) {
 }
 
-/// getNoopForMachoTarget - Return the noop instruction to use for a noop.
-void SparcInstrInfo::getNoopForMachoTarget(MCInst &NopInst) const {
-  NopInst.setOpcode(SP::NOP);
-}
-
 /// isLoadFromStackSlot - If the specified machine instruction is a direct
 /// load from a stack slot, return the virtual or physical register number of
 /// the destination along with the FrameIndex of the loaded stack slot.  If