From d011a027e0f60d9b6d20097ef94e09f51af897c5 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 15 Jan 2004 18:17:07 +0000 Subject: [PATCH] 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 --- lib/Target/SparcV9/SparcV9RegInfo.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Target/SparcV9/SparcV9RegInfo.h b/lib/Target/SparcV9/SparcV9RegInfo.h index 68d0ad823b1..34069d82f12 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 //