forked from OSchip/llvm-project
Hrm, don't do debugging output when debugging is off. :(
llvm-svn: 1420
This commit is contained in:
parent
28fef95650
commit
cd7fb504a5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue