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 | 747e55bc9a6dff676b86ad7ed6b68b1d6b27a98f (patch) | |
| tree | 3a6c326b6693d7d3a15d4fcdb3cb8fce91cb35c8 /llvm/lib/CodeGen | |
| parent | e9000829b0c1e092d09ebfc3522b5bd4c7b9e3a2 (diff) | |
| download | bcm5719-llvm-747e55bc9a6dff676b86ad7ed6b68b1d6b27a98f.tar.gz bcm5719-llvm-747e55bc9a6dff676b86ad7ed6b68b1d6b27a98f.zip | |
Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowing
ScheduleDAG's TLI member to use const.
llvm-svn: 64018
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 6330739d4d1..5fa37ba386f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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"; |

