diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-03 01:29:13 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-03 01:29:13 +0000 |
commit | c96019886cefba8ee8d87da3e7cbf5f132b8de5d (patch) | |
tree | 7a2eacb6e07a89c1c81b3ffee9cf50b48a9507a5 /llvm/lib/CodeGen/SplitKit.h | |
parent | 5ea0712e961aa88bd1b2a2e5ad3b181288e5f5c2 (diff) | |
download | bcm5719-llvm-c96019886cefba8ee8d87da3e7cbf5f132b8de5d.tar.gz bcm5719-llvm-c96019886cefba8ee8d87da3e7cbf5f132b8de5d.zip |
Change the SplitEditor interface to a single instance can be shared for multiple splits.
llvm-svn: 126912
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index 7b303617225..28c5c602d7a 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/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(); |