aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
//