diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-10 20:58:58 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-10 20:58:58 +0000 |
commit | 984adc25c981155040f3a7e3801d2292e18880b1 (patch) | |
tree | e3947759c20184c7bbd854fb0c57da23306b44b6 /include/llvm | |
parent | 409ffcc91897dfafbbfba9f43127c39a50c19398 (diff) | |
download | external_llvm-984adc25c981155040f3a7e3801d2292e18880b1.zip external_llvm-984adc25c981155040f3a7e3801d2292e18880b1.tar.gz external_llvm-984adc25c981155040f3a7e3801d2292e18880b1.tar.bz2 |
Made isPhi const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/MachineInstrInfo.h | 3 | ||||
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index 465776b..383e9ca 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -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, diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 465776b..383e9ca 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -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, |