Include TargetRegInfo.h and declare SparcTargetMachine forward, to make this
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 15 Jan 2004 18:17:07 +0000 (18:17 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 15 Jan 2004 18:17:07 +0000 (18:17 +0000)
header more easily includable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10880 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9RegInfo.h

index 68d0ad823b177b3bc453517f86eb07e95d06a146..34069d82f12827c968e46ae69a8c1c78e8ded3d6 100644 (file)
 #ifndef SPARC_REGINFO_H
 #define SPARC_REGINFO_H
 
+#include "llvm/Target/TargetRegInfo.h"
+
 namespace llvm {
 
+class SparcTargetMachine;
+
 class SparcRegInfo : public TargetRegInfo {
 
 private:
@@ -139,7 +143,6 @@ public:
     return 8;
   }
 
-
   // To obtain the return value and the indirect call address (if any)
   // contained in a CALL machine instruction
   //