[llvm-commits] CVS: llvm/lib/Transforms/IPO/GlobalOpt.cpp
Chris Lattner
sabre at nondot.org
Sat Sep 30 16:33:05 PDT 2006
Changes in directory llvm/lib/Transforms/IPO:
GlobalOpt.cpp updated: 1.67 -> 1.68
---
Log message:
Fix debug output
---
Diffs of the changes: (+1 -2)
GlobalOpt.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Transforms/IPO/GlobalOpt.cpp
diff -u llvm/lib/Transforms/IPO/GlobalOpt.cpp:1.67 llvm/lib/Transforms/IPO/GlobalOpt.cpp:1.68
--- llvm/lib/Transforms/IPO/GlobalOpt.cpp:1.67 Sat Sep 30 18:32:09 2006
+++ llvm/lib/Transforms/IPO/GlobalOpt.cpp Sat Sep 30 18:32:50 2006
@@ -913,7 +913,7 @@
/// PerformHeapAllocSRoA - MI is an allocation of an array of structures. Break
/// it up into multiple allocations of arrays of the fields.
static GlobalVariable *PerformHeapAllocSRoA(GlobalVariable *GV, MallocInst *MI){
- /*DEBUG*/(std::cerr << "SROA HEAP ALLOC: " << *GV << " MALLOC = " << *MI);
+ DEBUG(std::cerr << "SROA HEAP ALLOC: " << *GV << " MALLOC = " << *MI);
const StructType *STy = cast<StructType>(MI->getAllocatedType());
// There is guaranteed to be at least one use of the malloc (storing
@@ -1872,7 +1872,6 @@
-
/// OptimizeGlobalCtorsList - Simplify and evaluation global ctors if possible.
/// Return true if anything changed.
bool GlobalOpt::OptimizeGlobalCtorsList(GlobalVariable *&GCL) {
More information about the llvm-commits
mailing list