Split foldMemoryOperand into public non-virtual and protected virtual
[oota-llvm.git] / lib / Target / Alpha / AlphaInstrInfo.cpp
index 7b3053e5238bbafbd3f508d882894f313dc31a7f..bd6f2cf3e37bbe52d715803a94779f2f4971e6cf 100644 (file)
@@ -255,10 +255,10 @@ void AlphaInstrInfo::loadRegFromAddr(MachineFunction &MF, unsigned DestReg,
   NewMIs.push_back(MIB);
 }
 
-MachineInstr *AlphaInstrInfo::foldMemoryOperand(MachineFunction &MF,
-                                                MachineInstr *MI,
+MachineInstr *AlphaInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
+                                                    MachineInstr *MI,
                                           const SmallVectorImpl<unsigned> &Ops,
-                                                int FrameIndex) const {
+                                                    int FrameIndex) const {
    if (Ops.size() != 1) return NULL;
 
    // Make sure this is a reg-reg copy.