mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
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:
parent
23436597a8
commit
6d108e2cb5
@ -30,6 +30,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
class InlineSpiller : public Spiller {
|
class InlineSpiller : public Spiller {
|
||||||
|
MachineFunctionPass &pass_;
|
||||||
MachineFunction &mf_;
|
MachineFunction &mf_;
|
||||||
LiveIntervals &lis_;
|
LiveIntervals &lis_;
|
||||||
MachineLoopInfo &loops_;
|
MachineLoopInfo &loops_;
|
||||||
@ -61,7 +62,8 @@ public:
|
|||||||
InlineSpiller(MachineFunctionPass &pass,
|
InlineSpiller(MachineFunctionPass &pass,
|
||||||
MachineFunction &mf,
|
MachineFunction &mf,
|
||||||
VirtRegMap &vrm)
|
VirtRegMap &vrm)
|
||||||
: mf_(mf),
|
: pass_(pass),
|
||||||
|
mf_(mf),
|
||||||
lis_(pass.getAnalysis<LiveIntervals>()),
|
lis_(pass.getAnalysis<LiveIntervals>()),
|
||||||
loops_(pass.getAnalysis<MachineLoopInfo>()),
|
loops_(pass.getAnalysis<MachineLoopInfo>()),
|
||||||
vrm_(vrm),
|
vrm_(vrm),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user