From 8e8b8a223c2b0e69f44c0639f846260c8011668f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 16 Oct 2008 01:49:15 +0000 Subject: Const-ify several TargetInstrInfo methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57622 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcInstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/Sparc/SparcInstrInfo.cpp') 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 @@ void SparcInstrInfo::loadRegFromAddr(MachineFunction &MF, unsigned DestReg, MachineInstr *SparcInstrInfo::foldMemoryOperand(MachineFunction &MF, MachineInstr* MI, - SmallVectorImpl &Ops, + const SmallVectorImpl &Ops, int FI) const { if (Ops.size() != 1) return NULL; -- cgit v1.1