aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-01-15 18:17:07 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-01-15 18:17:07 +0000
commitd011a027e0f60d9b6d20097ef94e09f51af897c5 (patch)
tree9be292c7b3edb759c3ecf5608a819896ff7c4759
parent0f5918a0b6dba521be3c254718d1f41fad6b8d30 (diff)
Include TargetRegInfo.h and declare SparcTargetMachine forward, to make this
header more easily includable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10880 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9RegInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegInfo.h b/lib/Target/SparcV9/SparcV9RegInfo.h
index 68d0ad823b..34069d82f1 100644
--- a/lib/Target/SparcV9/SparcV9RegInfo.h
+++ b/lib/Target/SparcV9/SparcV9RegInfo.h
@@ -14,8 +14,12 @@
#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
//