Set SSARegMap to NULL after deleting it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4822 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2002-11-22 22:32:15 +00:00
parent fa8d571bd4
commit 7b8ba17761

View File

@ -97,7 +97,10 @@ public:
void addRegMap(unsigned Reg, const TargetRegisterClass *RegClass) {
SSARegMapping->addRegMap(Reg, RegClass);
}
void clearSSARegMap() { delete SSARegMapping; }
void clearSSARegMap() {
delete SSARegMapping;
SSARegMapping = NULL;
}
// Provide accessors for the MachineBasicBlock list...
typedef iplist<MachineBasicBlock> BasicBlockListType;