diff options
-rw-r--r-- | lib/CodeGen/MachineBlockPlacement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineBlockPlacement.cpp b/lib/CodeGen/MachineBlockPlacement.cpp index 412d0b1fab..304f16717b 100644 --- a/lib/CodeGen/MachineBlockPlacement.cpp +++ b/lib/CodeGen/MachineBlockPlacement.cpp @@ -766,6 +766,7 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &F) { AlignLoops(F); BlockToChain.clear(); + ChainAllocator.DestroyAll(); // We always return true as we have no way to track whether the final order // differs from the original order. |