Moved InsertCallerSaveInstr to the SparcRegInfo.cpp and made machine independent
[oota-llvm.git] / include / llvm / Target / TargetInstrInfo.h
index d0294caf468afb9bc219f3c0d22721d8b17e9b7a..696738a15157b64356969b2e11c4d6a5e2c3f716 100644 (file)
@@ -166,13 +166,13 @@ public:
         || getDescriptor(opCode).iclass & M_PREFETCH_FLAG
         || getDescriptor(opCode).iclass & M_STORE_FLAG;
   }
-  bool isDummyPhiInstr(MachineOpCode opCode) const {
+  bool isDummyPhiInstr(const MachineOpCode opCode) const {
     return getDescriptor(opCode).iclass & M_DUMMY_PHI_FLAG;
   }
 
 
   // delete this later *******
-  bool isPhi(MachineOpCode opCode) { return isDummyPhiInstr(opCode); }  
+  bool isPhi(const MachineOpCode opCode) { return isDummyPhiInstr(opCode); }  
   
 
   // Check if an instruction can be issued before its operands are ready,