llvm.org GIT mirror llvm / 7b8ba17
Set SSARegMap to NULL after deleting it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4822 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 17 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9696 void addRegMap(unsigned Reg, const TargetRegisterClass *RegClass) {
9797 SSARegMapping->addRegMap(Reg, RegClass);
9898 }
99 void clearSSARegMap() { delete SSARegMapping; }
99 void clearSSARegMap() {
100 delete SSARegMapping;
101 SSARegMapping = NULL;
102 }
100103
101104 // Provide accessors for the MachineBasicBlock list...
102105 typedef iplist BasicBlockListType;