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/CodeGen | |
parent | 5471a00977ab8ce3c88414dfbad99c0296d58508 (diff) |
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/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 6330739d4d..5fa37ba386 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -157,7 +157,7 @@ namespace llvm { // insert. The specified MachineInstr is created but not inserted into any // basic blocks, and the scheduler passes ownership of it to this method. MachineBasicBlock *TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI, - MachineBasicBlock *MBB) { + MachineBasicBlock *MBB) const { cerr << "If a target marks an instruction with " << "'usesCustomDAGSchedInserter', it must implement " << "TargetLowering::EmitInstrWithCustomInserter!\n"; |