[llvm-commits] CVS: llvm/include/llvm/Analysis/ET-Forest.h

Devang Patel dpatel at apple.com
Wed Feb 21 11:57:50 PST 2007



Changes in directory llvm/include/llvm/Analysis:

ET-Forest.h updated: 1.8 -> 1.9
---
Log message:

Simplify


---
Diffs of the changes:  (+1 -2)

 ET-Forest.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/Analysis/ET-Forest.h
diff -u llvm/include/llvm/Analysis/ET-Forest.h:1.8 llvm/include/llvm/Analysis/ET-Forest.h:1.9
--- llvm/include/llvm/Analysis/ET-Forest.h:1.8	Tue Feb 20 20:36:31 2007
+++ llvm/include/llvm/Analysis/ET-Forest.h	Wed Feb 21 13:57:33 2007
@@ -141,8 +141,7 @@
   // removeFromForest()
   ~ETNode() {
     delete RightmostOcc;
-    if (ParentOcc)
-      delete ParentOcc;
+    delete ParentOcc;
   }
 
   void removeFromForest() {






More information about the llvm-commits mailing list