Implement printing more, implement opcode output more
[oota-llvm.git] / lib / Target / X86 / X86TargetMachine.h
index 863eb604f5331b7c24414b7a43689aca9b6aa8b0..9db8375d8dff15886dcc9df9587ac09003907304 100644 (file)
@@ -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