[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.h
Brian Gaeke
gaeke at cs.uiuc.edu
Sun Apr 25 01:33:02 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9TargetMachine.h updated: 1.6 -> 1.7
---
Log message:
Add a getRegisterInfo() accessor just like on the X86 target.
---
Diffs of the changes: (+3 -0)
Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.h
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.6 llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.7
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.6 Mon Mar 1 00:43:29 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.h Sun Apr 25 01:32:28 2004
@@ -39,6 +39,9 @@
virtual const TargetRegInfo &getRegInfo() const { return regInfo; }
virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; }
virtual TargetJITInfo *getJITInfo() { return &jitInfo; }
+ virtual const MRegisterInfo *getRegisterInfo() const {
+ return &instrInfo.getRegisterInfo();
+ }
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
More information about the llvm-commits
mailing list