mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
Set SSARegMap to NULL after deleting it.
llvm-svn: 4822
This commit is contained in:
parent
2d771c7b5f
commit
0f0cc54805
@ -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