aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-02-27 22:10:52 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-02-27 22:10:52 +0000
commit8cab162e03d7ae0638a3ab51e92ac228abe17d55 (patch)
treeb27a2f66aeb26dfc3616488b34fdf0e6f9a7c600 /include
parent50d456539dea5e61d7a1592a78f1861fb35b0063 (diff)
downloadexternal_llvm-8cab162e03d7ae0638a3ab51e92ac228abe17d55.zip
external_llvm-8cab162e03d7ae0638a3ab51e92ac228abe17d55.tar.gz
external_llvm-8cab162e03d7ae0638a3ab51e92ac228abe17d55.tar.bz2
Oops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h
index 65fdaea..4a82fc5 100644
--- a/include/llvm/CodeGen/RegisterScavenging.h
+++ b/include/llvm/CodeGen/RegisterScavenging.h
@@ -46,14 +46,13 @@ public:
/// Init - Initialize the states.
///
- void init();
+ void init(MachineBasicBlock *mbb = NULL);
/// Reset - Discard previous states and re-initialize the states given for
/// the specific basic block.
void reset(MachineBasicBlock *mbb) {
- MBB = mbb;
clear();
- init();
+ init(mbb);
}
/// forward / backward - Move the internal MBB iterator and update register