projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
478df7a
)
Implement the new optional getRegisterInfo
author
Chris Lattner
<sabre@nondot.org>
Wed, 30 Oct 2002 00:56:18 +0000
(
00:56
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 30 Oct 2002 00:56:18 +0000
(
00:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4437
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetMachine.h
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetMachine.h
b/lib/Target/X86/X86TargetMachine.h
index 863eb604f5331b7c24414b7a43689aca9b6aa8b0..9db8375d8dff15886dcc9df9587ac09003907304 100644
(file)
--- a/
lib/Target/X86/X86TargetMachine.h
+++ b/
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