summaryrefslogtreecommitdiff
path: root/src/ir_clang.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-22 12:11:16 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-22 12:11:16 -0600
commitf27e01a039195c379fd6716c4870858789941365 (patch)
tree86aeeae55bb324400e4e24ab5bab18a80ff6db94 /src/ir_clang.cc
parentefda1444166c8d4f8dd7d7b085868f1596b3b9fb (diff)
downloadchill-f27e01a039195c379fd6716c4870858789941365.tar.gz
chill-f27e01a039195c379fd6716c4870858789941365.tar.bz2
chill-f27e01a039195c379fd6716c4870858789941365.zip
new debug interface
Diffstat (limited to 'src/ir_clang.cc')
-rwxr-xr-xsrc/ir_clang.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir_clang.cc b/src/ir_clang.cc
index 0157436..16deff3 100755
--- a/src/ir_clang.cc
+++ b/src/ir_clang.cc
@@ -41,6 +41,7 @@ History:
#include "code_gen/CG_chillRepr.h"
#include "code_gen/CG_chillBuilder.h"
#include <vector>
+#include <chilldebug.h>
#include "chill_ast.hh"
@@ -2473,6 +2474,7 @@ IR_ArrayRef *IR_clangCode::CreateArrayRef(const IR_ArraySymbol *sym, std::vector
// now we've got the vardecl AND the indeces to make a chillAST that represents the array reference
// TODO Passing NULL for chillAST node?
+ CHILL_DEBUG_PRINT("Passed NULL as chillAST node");
chillAST_ArraySubscriptExpr *ASE = new chillAST_ArraySubscriptExpr( vd, inds, NULL);
auto ref = new IR_chillArrayRef( this, ASE, 0 );