summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-03-01 06:43:29 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-03-01 06:43:29 +0000
commit05b15fb075307d55a61694ebcb19bbc9b13aa9f8 (patch)
tree599f6e968268452e3ac0aed59870166db662a934 /lib/Target/X86/X86TargetMachine.h
parent9b3cbdbedbbd56a6f4e01ad31c641ef9f01dd8b0 (diff)
downloadllvm-05b15fb075307d55a61694ebcb19bbc9b13aa9f8.tar.gz
llvm-05b15fb075307d55a61694ebcb19bbc9b13aa9f8.tar.bz2
llvm-05b15fb075307d55a61694ebcb19bbc9b13aa9f8.tar.xz
TargetCacheInfo has been removed; its only uses were to propagate a constant
(16) into certain areas of the SPARC V9 back-end. I'm fairly sure the US IIIi's dcache has 32-byte lines, so I'm not sure where the 16 came from. However, in the interest of not breaking things any more than they already are, I'm going to leave the constant alone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.h')
-rw-r--r--lib/Target/X86/X86TargetMachine.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/Target/X86/X86TargetMachine.h b/lib/Target/X86/X86TargetMachine.h
index be8d8879a1..de85f95f73 100644
--- a/lib/Target/X86/X86TargetMachine.h
+++ b/lib/Target/X86/X86TargetMachine.h
@@ -32,18 +32,14 @@ public:
virtual const X86InstrInfo &getInstrInfo() const { return InstrInfo; }
virtual const TargetFrameInfo &getFrameInfo() const { return FrameInfo; }
- virtual const MRegisterInfo *getRegisterInfo() const {
+ virtual TargetJITInfo *getJITInfo() { return &JITInfo; }
+ virtual const MRegisterInfo *getRegisterInfo() const {
return &InstrInfo.getRegisterInfo();
}
- virtual TargetJITInfo *getJITInfo() {
- return &JITInfo;
- }
-
-
- virtual const TargetSchedInfo &getSchedInfo() const { abort(); }
- virtual const TargetRegInfo &getRegInfo() const { abort(); }
- virtual const TargetCacheInfo &getCacheInfo() const { abort(); }
+ // deprecated interfaces
+ virtual const TargetSchedInfo &getSchedInfo() const { abort(); }
+ virtual const TargetRegInfo &getRegInfo() const { abort(); }
/// addPassesToEmitMachineCode - Add passes to the specified pass manager to
/// get machine code emitted. This uses a MachineCodeEmitter object to handle