From f27e01a039195c379fd6716c4870858789941365 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 22 Sep 2016 12:11:16 -0600 Subject: new debug interface --- src/ir_clang.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ir_clang.cc') 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 +#include #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 ); -- cgit v1.2.3-70-g09d2