aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 01:29:13 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 01:29:13 +0000
commitbece06f0c6936527e2b1c72d09f7d3a949af9a47 (patch)
tree2f2d7bb9727c2c8dc68d57c34a5161e716084e31 /lib/CodeGen/SplitKit.h
parent8701768ae2e93e8741106acfa4a29959e1439487 (diff)
downloadexternal_llvm-bece06f0c6936527e2b1c72d09f7d3a949af9a47.zip
external_llvm-bece06f0c6936527e2b1c72d09f7d3a949af9a47.tar.gz
external_llvm-bece06f0c6936527e2b1c72d09f7d3a949af9a47.tar.bz2
Change the SplitEditor interface to a single instance can be shared for multiple splits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r--lib/CodeGen/SplitKit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h
index 7b30361..28c5c60 100644
--- a/lib/CodeGen/SplitKit.h
+++ b/lib/CodeGen/SplitKit.h
@@ -268,10 +268,10 @@ public:
/// Create a new SplitEditor for editing the LiveInterval analyzed by SA.
/// Newly created intervals will be appended to newIntervals.
SplitEditor(SplitAnalysis &SA, LiveIntervals&, VirtRegMap&,
- MachineDominatorTree&, LiveRangeEdit&);
+ MachineDominatorTree&);
- /// getAnalysis - Get the corresponding analysis.
- SplitAnalysis &getAnalysis() { return SA; }
+ /// reset - Prepare for a new split.
+ void reset(LiveRangeEdit&);
/// Create a new virtual register and live interval.
void openIntv();