diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index f705d2d50c5..5abd290527f 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -913,7 +913,7 @@ static void RewriteUsesOfLoadForHeapSRoA(LoadInst *Ptr,  /// 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 @@ static bool EvaluateStaticConstructor(Function *F) { -  /// OptimizeGlobalCtorsList - Simplify and evaluation global ctors if possible.  /// Return true if anything changed.  bool GlobalOpt::OptimizeGlobalCtorsList(GlobalVariable *&GCL) { | 

