diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-18 19:49:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-18 19:49:32 +0000 |
commit | 0b2732598c9beca83906644cdbb95040b7885aac (patch) | |
tree | 82210908d34142ebffcbd0b6a5ee2f2ea70028f6 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 119f60e12a3acc1a82c08337a7f90436ab4b8012 (diff) | |
download | bcm5719-llvm-0b2732598c9beca83906644cdbb95040b7885aac.tar.gz bcm5719-llvm-0b2732598c9beca83906644cdbb95040b7885aac.zip |
Add more const qualifiers. This fixes build breakage from r59540.
llvm-svn: 59542
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index dfa4629df62..5c5ba505b55 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -728,7 +728,7 @@ bool MachineInstr::isSafeToReMat(const TargetInstrInfo *TII, !isSafeToMove(TII, SawStore)) return false; for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { - MachineOperand &MO = getOperand(i); + const MachineOperand &MO = getOperand(i); if (!MO.isReg()) continue; // FIXME: For now, do not remat any instruction with register operands. |