aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/XCoreISelLowering.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-07 16:15:20 +0000
committerDan Gohman <gohman@apple.com>2009-02-07 16:15:20 +0000
commit1fdbc1dd4e9cb42c79a30e8dc308c322e923cc52 (patch)
treed0172d9e89acb9a020afc7b1e9a227dad978682c /lib/Target/XCore/XCoreISelLowering.h
parent5471a00977ab8ce3c88414dfbad99c0296d58508 (diff)
downloadexternal_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/XCore/XCoreISelLowering.h')
-rw-r--r--lib/Target/XCore/XCoreISelLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreISelLowering.h b/lib/Target/XCore/XCoreISelLowering.h
index 5417d7b..993ecbd 100644
--- a/lib/Target/XCore/XCoreISelLowering.h
+++ b/lib/Target/XCore/XCoreISelLowering.h
@@ -79,7 +79,7 @@ namespace llvm {
virtual const char *getTargetNodeName(unsigned Opcode) const;
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
- MachineBasicBlock *MBB);
+ MachineBasicBlock *MBB) const;
virtual bool isLegalAddressingMode(const AddrMode &AM,
const Type *Ty) const;