Don't check for null on delete


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@624 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSelection/InstrForest.cpp b/lib/CodeGen/InstrSelection/InstrForest.cpp
index efea63c..f7091a2 100644
--- a/lib/CodeGen/InstrSelection/InstrForest.cpp
+++ b/lib/CodeGen/InstrSelection/InstrForest.cpp
@@ -182,11 +182,7 @@
 {
   for (hash_map<const Instruction*, InstructionNode*>:: iterator I = begin();
        I != end(); ++I)
-    {
-      InstructionNode* node = (*I).second;
-      if (node)
-	delete node;
-    }
+      delete (*I).second;
 }
 
 void