Keep the MachiuneFunctionPass pointer around. It is useful for verification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2010-08-06 18:47:06 +00:00
parent 23436597a8
commit 6d108e2cb5

View File

@ -30,6 +30,7 @@ using namespace llvm;
namespace {
class InlineSpiller : public Spiller {
MachineFunctionPass &pass_;
MachineFunction &mf_;
LiveIntervals &lis_;
MachineLoopInfo &loops_;
@ -61,7 +62,8 @@ public:
InlineSpiller(MachineFunctionPass &pass,
MachineFunction &mf,
VirtRegMap &vrm)
: mf_(mf),
: pass_(pass),
mf_(mf),
lis_(pass.getAnalysis<LiveIntervals>()),
loops_(pass.getAnalysis<MachineLoopInfo>()),
vrm_(vrm),