summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit0f405c8d734bf49e620bd0bcb6b18187f5bd9a64 (patch)
treef5673f45b845a5d33ee018d67e58b64cfe67a926 /llvm/lib/CodeGen
parentfd0e2e31be34603d33d4733775fd90748577bb71 (diff)
downloadbcm5719-llvm-0f405c8d734bf49e620bd0bcb6b18187f5bd9a64.tar.gz
bcm5719-llvm-0f405c8d734bf49e620bd0bcb6b18187f5bd9a64.zip
Add a comment.
llvm-svn: 101260
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index a17119be116..8583336df66 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud