mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Hrm, don't do debugging output when debugging is off. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e04a967e7e
commit
f1d6521412
@ -637,9 +637,9 @@ static bool DoInsertArrayCasts(Method *M) {
|
|||||||
// TODO: insert casts for alloca, malloc, and function call results. Also,
|
// TODO: insert casts for alloca, malloc, and function call results. Also,
|
||||||
// look for pointers that already have casts, to add to the map.
|
// look for pointers that already have casts, to add to the map.
|
||||||
|
|
||||||
if (Changed) {
|
#ifdef DEBUG_PEEPHOLE_INSTS
|
||||||
cerr << "Inserted casts:\n" << M;
|
if (Changed) cerr << "Inserted casts:\n" << M;
|
||||||
}
|
#endif
|
||||||
|
|
||||||
return Changed;
|
return Changed;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user