diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:56:18 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:56:18 +0000 |
| commit | 858a4a6595efa4e76e64831af030ff6cc4a9f057 (patch) | |
| tree | ba94d7b5a6fbdbb15fb87c01ab8436d3f42b7f17 /llvm/lib/Target/X86/X86TargetMachine.h | |
| parent | 75d3515824d27665f42dc007d0efdbbcae765c7e (diff) | |
| download | bcm5719-llvm-858a4a6595efa4e76e64831af030ff6cc4a9f057.tar.gz bcm5719-llvm-858a4a6595efa4e76e64831af030ff6cc4a9f057.zip | |
Implement the new optional getRegisterInfo
llvm-svn: 4437
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.h b/llvm/lib/Target/X86/X86TargetMachine.h index 863eb604f53..9db8375d8df 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.h +++ b/llvm/lib/Target/X86/X86TargetMachine.h @@ -21,6 +21,9 @@ public: virtual const MachineFrameInfo &getFrameInfo() const { abort(); } virtual const MachineCacheInfo &getCacheInfo() const { abort(); } virtual const MachineOptInfo &getOptInfo() const { abort(); } + virtual const MRegisterInfo *getRegisterInfo() const { + return &instrInfo.getRegisterInfo(); + } /// addPassesToJITCompile - Add passes to the specified pass manager to /// implement a fast dynamic compiler for this target. Return true if this is |

