mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +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:
parent
fa8d571bd4
commit
7b8ba17761
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user