summaryrefslogtreecommitdiff
path: root/src/ir_clang.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_clang.cc')
-rwxr-xr-xsrc/ir_clang.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ir_clang.cc b/src/ir_clang.cc
index d30823a..2346673 100755
--- a/src/ir_clang.cc
+++ b/src/ir_clang.cc
@@ -1728,7 +1728,9 @@ IR_clangCode::~IR_clangCode() {
// TODO should output the entire file, not just the function we're working on
chillAST_SourceFile *src = chillfunc->getSourceFile();
if (src) {
- src->dump();
+ CHILL_DEBUG_BEGIN
+ src->dump();
+ CHILL_DEBUG_END
if (src->isSourceFile()) src->printToFile();
}
}