diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-22 01:03:57 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-22 01:03:57 -0600 |
commit | efda1444166c8d4f8dd7d7b085868f1596b3b9fb (patch) | |
tree | 6ea0d275467b65c15956af7913a70991a3a957e3 /src/chillmodule.cc | |
parent | bc796e8d5a10352941d606df516f976b15fb32fc (diff) | |
download | chill-efda1444166c8d4f8dd7d7b085868f1596b3b9fb.tar.gz chill-efda1444166c8d4f8dd7d7b085868f1596b3b9fb.tar.bz2 chill-efda1444166c8d4f8dd7d7b085868f1596b3b9fb.zip |
more clang hack
Diffstat (limited to 'src/chillmodule.cc')
-rw-r--r-- | src/chillmodule.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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++) { |