summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/RegisterScavenging.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-06 21:19:03 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-06 21:19:03 +0000
commit31f5591c91d4c012901018013aba19b0015fa6a0 (patch)
treef3cd28690b0820283c2412a7cfc635574b2d5d28 /include/llvm/CodeGen/RegisterScavenging.h
parentbceda93251ff2cbcf54fb315e23027f426bfea80 (diff)
downloadllvm-31f5591c91d4c012901018013aba19b0015fa6a0.tar.gz
llvm-31f5591c91d4c012901018013aba19b0015fa6a0.tar.bz2
llvm-31f5591c91d4c012901018013aba19b0015fa6a0.tar.xz
Get rid of RegScavenger::backwards() before the bitrot spreads.
If we need it one day, there is nothing wrong with putting it back in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/RegisterScavenging.h')
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h
index dbd9032c80..b0bcc6724e 100644
--- a/include/llvm/CodeGen/RegisterScavenging.h
+++ b/include/llvm/CodeGen/RegisterScavenging.h
@@ -90,20 +90,15 @@ public:
/// passes over/within the same function.
void initRegState();
- /// forward / backward - Move the internal MBB iterator and update register
- /// states.
+ /// forward - Move the internal MBB iterator and update register states.
void forward();
- void backward();
- /// forward / backward - Move the internal MBB iterator and update register
- /// states until it has processed the specific iterator.
+ /// forward - Move the internal MBB iterator and update register states until
+ /// it has processed the specific iterator.
void forward(MachineBasicBlock::iterator I) {
if (!Tracking && MBB->begin() != I) forward();
while (MBBI != I) forward();
}
- void backward(MachineBasicBlock::iterator I) {
- while (MBBI != I) backward();
- }
/// skipTo - Move the internal MBB iterator but do not update register states.
///