diff options
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
| -rw-r--r-- | llvm/lib/Transforms/LevelRaise.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp index 886c7bdcf35..f155c507097 100644 --- a/llvm/lib/Transforms/LevelRaise.cpp +++ b/llvm/lib/Transforms/LevelRaise.cpp @@ -637,9 +637,9 @@ static bool DoInsertArrayCasts(Method *M) {    // TODO: insert casts for alloca, malloc, and function call results.  Also,     // look for pointers that already have casts, to add to the map. -  if (Changed) { -    cerr << "Inserted casts:\n" << M; -  } +#ifdef DEBUG_PEEPHOLE_INSTS +  if (Changed) cerr << "Inserted casts:\n" << M; +#endif    return Changed;  } | 

