OSDN Git Service

fix whitespace in my last commit.
authorNuno Lopes <nunoplopes@sapo.pt>
Fri, 22 Jun 2012 00:29:58 +0000 (00:29 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Fri, 22 Jun 2012 00:29:58 +0000 (00:29 +0000)
sorry for the churn :S  enough for today; going to sleep.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158953 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/GlobalOpt.cpp

index ab58c41..1668d6b 100644 (file)
@@ -1570,7 +1570,7 @@ static bool TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV,
       if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc))
         CI = cast<CallInst>(BCI->getOperand(0));
       else
-      CI = cast<CallInst>(Malloc);
+        CI = cast<CallInst>(Malloc);
     }
 
     GVI = PerformHeapAllocSRoA(GV, CI, getMallocArraySize(CI, TD, true), TD);