Cosmetic patch for r148215.
authorStepan Dyatkovskiy <stpworld@narod.ru>
Sun, 15 Jan 2012 09:45:11 +0000 (09:45 +0000)
committerStepan Dyatkovskiy <stpworld@narod.ru>
Sun, 15 Jan 2012 09:45:11 +0000 (09:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148216 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopUnswitch.cpp

index 3ccb27276ddc502026ac20d1075edb51c4ae4867..5b918cc384617f382df04d603320fc86461e0a21 100644 (file)
@@ -129,19 +129,6 @@ namespace {
     // after RewriteLoopBodyWithConditionConstant rewrites first loop.
     std::vector<Loop*> LoopProcessWorklist;
 
-    // TODO: This few lines are here for cosmetic purposes only.
-    // Will be removed with the next commit.
-    struct LoopProperties {
-      unsigned CanBeUnswitchedCount;
-      unsigned SizeEstimation;
-    };
-    
-    // TODO: This few lines are here for cosmetic purposes only.
-    // Will be removed with the next commit.
-    typedef DenseMap<const Loop*, LoopProperties> LoopPropsMap;
-    typedef LoopPropsMap::iterator LoopPropsMapIt;
-    LoopPropsMap LoopsProperties;    
-    
     LUAnalysisCache BranchesInfo;
     
     bool OptimizeForSize;