Made isPhi const
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Sat, 10 Nov 2001 20:58:58 +0000 (20:58 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Sat, 10 Nov 2001 20:58:58 +0000 (20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1251 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MachineInstrInfo.h
include/llvm/Target/TargetInstrInfo.h

index 465776b015824aca07e85798f53fbfacef1a0cf7..383e9ca969397b184ce44fcf7d86c80ad380b8e8 100644 (file)
@@ -176,7 +176,8 @@ public:
 
 
   // delete this later *******
-  bool isPhi(const MachineOpCode opCode) { return isDummyPhiInstr(opCode); }  
+  bool isPhi(const MachineOpCode opCode) const 
+  { return isDummyPhiInstr(opCode); }  
   
 
   // Check if an instruction can be issued before its operands are ready,
index 465776b015824aca07e85798f53fbfacef1a0cf7..383e9ca969397b184ce44fcf7d86c80ad380b8e8 100644 (file)
@@ -176,7 +176,8 @@ public:
 
 
   // delete this later *******
-  bool isPhi(const MachineOpCode opCode) { return isDummyPhiInstr(opCode); }  
+  bool isPhi(const MachineOpCode opCode) const 
+  { return isDummyPhiInstr(opCode); }  
   
 
   // Check if an instruction can be issued before its operands are ready,