aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/Machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/Machine.h b/include/llvm/Target/Machine.h
index 2f1fe52194..3320c35b34 100644
--- a/include/llvm/Target/Machine.h
+++ b/include/llvm/Target/Machine.h
@@ -14,6 +14,7 @@
class TargetMachine;
class MachineInstrInfo;
class MachineInstrDescriptor;
+class MachineRegInfo;
//---------------------------------------------------------------------------
// Data types used to define information about a single machine instruction
@@ -56,6 +57,8 @@ public:
virtual const MachineInstrInfo& getInstrInfo() const = 0;
+ virtual const MachineRegInfo& getRegInfo() const = 0;
+
virtual unsigned int findOptimalStorageSize (const Type* ty) const;
// This really should be in the register info class