commit | 46b948ea872c1d1853fc5be4af44794ef3ae7f63 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Oct 16 01:49:15 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Oct 16 01:49:15 2008 +0000 |
tree | b39ffe640aebc9d306c008272b7ab43bcd743f59 | |
parent | 871ecf198442e665177368fdb297cf2b9e98c71f [diff] [blame] |
Const-ify several TargetInstrInfo methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57622 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/SparcInstrInfo.cpp b/lib/Target/Sparc/SparcInstrInfo.cpp index 0d7370b..47c0672 100644 --- a/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/lib/Target/Sparc/SparcInstrInfo.cpp
@@ -227,7 +227,7 @@ MachineInstr *SparcInstrInfo::foldMemoryOperand(MachineFunction &MF, MachineInstr* MI, - SmallVectorImpl<unsigned> &Ops, + const SmallVectorImpl<unsigned> &Ops, int FI) const { if (Ops.size() != 1) return NULL;