mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user