summaryrefslogtreecommitdiff
path: root/src/ir_clang.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-05 22:47:11 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-05 22:47:11 -0600
commitb7a50e256d0ac6ec120050173b37f34d434ef325 (patch)
tree6655b2312a6b078d57695af35727396e50907610 /src/ir_clang.cc
parent64915c9dd543c847d7b54cdad5f83c12b579c233 (diff)
downloadchill-b7a50e256d0ac6ec120050173b37f34d434ef325.tar.gz
chill-b7a50e256d0ac6ec120050173b37f34d434ef325.tar.bz2
chill-b7a50e256d0ac6ec120050173b37f34d434ef325.zip
build for ubuntu
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();
}
}