From efda1444166c8d4f8dd7d7b085868f1596b3b9fb Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 22 Sep 2016 01:03:57 -0600 Subject: more clang hack --- src/chillmodule.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/chillmodule.cc') diff --git a/src/chillmodule.cc b/src/chillmodule.cc index 291cb51..fa6e001 100644 --- a/src/chillmodule.cc +++ b/src/chillmodule.cc @@ -80,6 +80,7 @@ static void init_loop(int loop_num_start, int loop_num_end) { } else { if (ir_code == NULL) { + ir_code = new IR_clangCode(source_filename.c_str(),procedure_name.c_str()); IR_Block *block = ir_code->GetCode(); ir_controls = ir_code->FindOneLevelControlStructure(block); for (int i = 0; i < ir_controls.size(); i++) { -- cgit v1.2.3-70-g09d2