mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 00:16:25 +00:00
Fix undefined behavior: binding null pointer to reference. No functionality change.
llvm-svn: 161853
This commit is contained in:
parent
eb22b069bb
commit
2e1fc547c0
@ -42,7 +42,7 @@ MachineSSAUpdater::MachineSSAUpdater(MachineFunction &MF,
|
||||
}
|
||||
|
||||
MachineSSAUpdater::~MachineSSAUpdater() {
|
||||
delete &getAvailableVals(AV);
|
||||
delete static_cast<AvailableValsTy*>(AV);
|
||||
}
|
||||
|
||||
/// Initialize - Reset this object to get ready for a new set of SSA
|
||||
|
Loading…
Reference in New Issue
Block a user