summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-29 18:35:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-29 18:35:22 +0000
commit5983bdbb2cbe1954b4ec7da53937d3d00be58c94 (patch)
treef6af536389645765187bb126bb74be6d5dfa3757 /llvm/lib/Target/TargetInstrInfo.cpp
parentcff3e122b043998d266223e8819a9c7c9028db5d (diff)
downloadbcm5719-llvm-5983bdbb2cbe1954b4ec7da53937d3d00be58c94.tar.gz
bcm5719-llvm-5983bdbb2cbe1954b4ec7da53937d3d00be58c94.zip
Add missing const qualifiers.
llvm-svn: 37341
Diffstat (limited to 'llvm/lib/Target/TargetInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp
index 54158f756a6..56ec835a119 100644
--- a/llvm/lib/Target/TargetInstrInfo.cpp
+++ b/llvm/lib/Target/TargetInstrInfo.cpp
@@ -61,7 +61,7 @@ MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr *MI) const {
}
bool TargetInstrInfo::PredicateInstruction(MachineInstr *MI,
- std::vector<MachineOperand> &Pred) const {
+ const std::vector<MachineOperand> &Pred) const {
bool MadeChange = false;
const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
if (TID->Flags & M_PREDICABLE) {
OpenPOWER on IntegriCloud