summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/RegClass.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/RegClass.h')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/RegClass.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.h b/llvm/lib/CodeGen/RegAlloc/RegClass.h
index c861fbae210..0071f7c2129 100644
--- a/llvm/lib/CodeGen/RegAlloc/RegClass.h
+++ b/llvm/lib/CodeGen/RegAlloc/RegClass.h
@@ -20,6 +20,9 @@
#include "llvm/Target/TargetRegInfo.h"
#include "InterferenceGraph.h"
#include <stack>
+
+namespace llvm {
+
class TargetRegClassInfo;
@@ -139,4 +142,6 @@ class RegClass {
void printIG();
};
+} // End llvm namespace
+
#endif
OpenPOWER on IntegriCloud