diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-20 23:50:15 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-20 23:50:15 +0000 |
| commit | f2c6e367c1c0d8797e62e58a3ccdb8cceee27987 (patch) | |
| tree | 97477acab77a4bd9d3c5d2482d5df092ac10793e /lib/CodeGen/SplitKit.h | |
| parent | 549979f5509ef6ff14e1e46c141990deb8d8274e (diff) | |
Change the createSpiller interface to take a MachineFunctionPass argument.
The spillers can pluck the analyses they need from the pass reference.
Switch some never-null pointers to references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
| -rw-r--r-- | lib/CodeGen/SplitKit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index d567c0420d..cd059dffd6 100644 --- a/lib/CodeGen/SplitKit.h +++ b/lib/CodeGen/SplitKit.h @@ -56,8 +56,8 @@ class SplitAnalysis { bool canAnalyzeBranch(const MachineBasicBlock *MBB); public: - SplitAnalysis(const MachineFunction *mf, const LiveIntervals *lis, - const MachineLoopInfo *mli); + SplitAnalysis(const MachineFunction &mf, const LiveIntervals &lis, + const MachineLoopInfo &mli); /// analyze - set curli to the specified interval, and analyze how it may be /// split. |
