diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-07 16:15:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-07 16:15:20 +0000 |
commit | 1fdbc1dd4e9cb42c79a30e8dc308c322e923cc52 (patch) | |
tree | d0172d9e89acb9a020afc7b1e9a227dad978682c /lib/Target/Sparc/SparcISelLowering.cpp | |
parent | 5471a00977ab8ce3c88414dfbad99c0296d58508 (diff) | |
download | external_llvm-1fdbc1dd4e9cb42c79a30e8dc308c322e923cc52.zip external_llvm-1fdbc1dd4e9cb42c79a30e8dc308c322e923cc52.tar.gz external_llvm-1fdbc1dd4e9cb42c79a30e8dc308c322e923cc52.tar.bz2 |
Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowing
ScheduleDAG's TLI member to use const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp index 7978d7c..17d3566 100644 --- a/lib/Target/Sparc/SparcISelLowering.cpp +++ b/lib/Target/Sparc/SparcISelLowering.cpp @@ -922,7 +922,7 @@ LowerOperation(SDValue Op, SelectionDAG &DAG) { MachineBasicBlock * SparcTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI, - MachineBasicBlock *BB) { + MachineBasicBlock *BB) const { const TargetInstrInfo &TII = *getTargetMachine().getInstrInfo(); unsigned BROpcode; unsigned CC; |