Changes in directory llvm/lib/Transforms/Scalar:

ScalarReplAggregates.cpp updated: 1.88 -> 1.89
---
Log message:

Remove unused function argument.


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

 ScalarReplAggregates.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.88 
llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.89
--- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.88    Wed Apr 25 
01:40:51 2007
+++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp Wed Apr 25 12:15:20 2007
@@ -119,7 +119,7 @@
     // the entry node
     for (BasicBlock::iterator I = BB.begin(), E = --BB.end(); I != E; ++I)
       if (AllocaInst *AI = dyn_cast<AllocaInst>(I))       // Is it an alloca?
-        if (isAllocaPromotable(AI, TD))
+        if (isAllocaPromotable(AI))
           Allocas.push_back(AI);
 
     if (Allocas.empty()) break;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to