aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-14 17:09:37 +0000
committerDan Gohman <gohman@apple.com>2010-04-14 17:09:37 +0000
commit046fe6b6ba9851d3b8fed164493a54db3ac107e6 (patch)
tree82ee50bf00e3e6235e1ec7922ccbc37a1e52cb49 /lib
parentb13033f61c897224a0be2784faa721ff294c5254 (diff)
downloadexternal_llvm-046fe6b6ba9851d3b8fed164493a54db3ac107e6.zip
external_llvm-046fe6b6ba9851d3b8fed164493a54db3ac107e6.tar.gz
external_llvm-046fe6b6ba9851d3b8fed164493a54db3ac107e6.tar.bz2
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
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;