projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e04a967
)
Hrm, don't do debugging output when debugging is off. :(
author
Chris Lattner
<sabre@nondot.org>
Wed, 5 Dec 2001 06:40:17 +0000
(06:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 5 Dec 2001 06:40:17 +0000
(06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1420
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/LevelRaise.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/LevelRaise.cpp
b/lib/Transforms/LevelRaise.cpp
index 886c7bdcf35b6105d0a9a531874f5697669847c5..f155c507097bda03703bb2a761c0a32bf008860f 100644
(file)
--- a/
lib/Transforms/LevelRaise.cpp
+++ b/
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;
}