summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-03 07:13:04 +0000
committerChris Lattner <sabre@nondot.org>2002-02-03 07:13:04 +0000
commit6316f38c964fc2e2be29754d7f792df1b4a740c1 (patch)
treed1e8465429c88efab42ac3b53212ce5266e4f7cd /llvm/lib/CodeGen
parent80011479a3d1d511aafe1816c61bab9b5d48caac (diff)
downloadbcm5719-llvm-6316f38c964fc2e2be29754d7f792df1b4a740c1.tar.gz
bcm5719-llvm-6316f38c964fc2e2be29754d7f792df1b4a740c1.zip
Add a class forward decl
llvm-svn: 1637
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
index 9d9aa53ddf2..4d009cfcbea 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
@@ -38,9 +38,8 @@
#include "llvm/CodeGen/LiveRangeInfo.h"
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/Analysis/LoopDepth.h"
-
#include <deque>
-
+class MachineCodeForMethod;
//----------------------------------------------------------------------------
// Class AddedInstrns:
@@ -75,7 +74,7 @@ class PhyRegAlloc: public NonCopyable
std::vector<RegClass *> RegClassList; // vector of register classes
const TargetMachine &TM; // target machine
const Method* Meth; // name of the method we work on
- MachineCodeForMethod& mcInfo; // descriptor for method's native code
+ MachineCodeForMethod &mcInfo; // descriptor for method's native code
MethodLiveVarInfo *const LVI; // LV information for this method
// (already computed for BBs)
LiveRangeInfo LRI; // LR info (will be computed)
OpenPOWER on IntegriCloud