Start using the new function cloning header
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index 91ee5123e197cf91451d41357e98fb1db0e3c214..ffd2e6e68f31b07f5eee8cb82fe6f970d0f07363 100644 (file)
@@ -268,7 +268,7 @@ static void print(const MachineOperand &MO, std::ostream &OS,
     OS << ")";
 }
 
-void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) {
+void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
   unsigned StartOp = 0;
 
    // Specialize printing if op#0 is definition