aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/RegAlloc/IGNode.h1
-rw-r--r--lib/CodeGen/RegAlloc/LiveRange.h5
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h
index 3b1344b85e..2b782436aa 100644
--- a/lib/CodeGen/RegAlloc/IGNode.h
+++ b/lib/CodeGen/RegAlloc/IGNode.h
@@ -26,7 +26,6 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index deab75d074..588b7b526e 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -1,4 +1,4 @@
-//===-- LiveRange.h - Store info about a live range --------------*- C++ -*--=//
+//===-- LiveRange.h - Store info about a live range -------------*- C++ -*-===//
//
// Implements a live range using a ValueSet. A LiveRange is a simple set
// of Values.
@@ -14,11 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
-#include <assert.h>
-
class RegClass;
class IGNode;
-class Type;
class LiveRange : public ValueSet {
RegClass *MyRegClass; // register classs (e.g., int, FP) for this LR