[llvm-commits] [llvm] r101260 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Dan Gohman gohman at apple.com
Wed Apr 14 10:09:37 PDT 2010


Author: djg
Date: Wed Apr 14 12:09:37 2010
New Revision: 101260

URL: http://llvm.org/viewvc/llvm-project?rev=101260&view=rev
Log:
Add a comment.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=101260&r1=101259&r2=101260&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Apr 14 12:09:37 2010
@@ -226,6 +226,8 @@
          "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;





More information about the llvm-commits mailing list