Rename SplitEditor::rewrite to finish() and break it out into a couple of new
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Oct 2010 23:42:21 +0000 (23:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Oct 2010 23:42:21 +0000 (23:42 +0000)
commit7466927b1af264b359c860cb9f7d1f3b275cc5cd
treec202d86800d760d377a81db5bf76de4299836844
parentd82de8341c99c1756624020000bd51a03a5f355c
Rename SplitEditor::rewrite to finish() and break it out into a couple of new
functions: computeRemainder and rewrite.

When the remainder breaks up into multiple components, remember to rewrite those
uses as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SplitKit.cpp
lib/CodeGen/SplitKit.h