diff options
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index a17119b..8583336 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -226,6 +226,8 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { "Not all catch info was assigned to a landing pad!"); #endif + // Release function-specific state. SDB and CurDAG are already cleared + // at this point. FuncInfo->clear(); return true; |