diff options
| author | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-09 17:22:46 -0600 | 
|---|---|---|
| committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-09 17:22:46 -0600 | 
| commit | 5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc (patch) | |
| tree | 91e2305b1a295e13d23798de0ded8882212bd67d /include | |
| parent | 340f3d1a30449912d73a49cba41be76d29ace36b (diff) | |
| download | chill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.tar.gz chill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.tar.bz2 chill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.zip  | |
recovered branch
Diffstat (limited to 'include')
| -rwxr-xr-x | include/ir_clang.hh | 14 | 
1 files changed, 5 insertions, 9 deletions
diff --git a/include/ir_clang.hh b/include/ir_clang.hh index 3e4e7d6..94fbc95 100755 --- a/include/ir_clang.hh +++ b/include/ir_clang.hh @@ -336,16 +336,14 @@ public:    void dump() const;  }; +struct IR_chillIf: public IR_If { +  chillAST_Node *code; -#ifdef NOTYET -struct IR_clangIf: public IR_If { -  SgNode *ti_; -   -  IR_clangIf(const IR_Code *ir, SgNode *ti) { +  IR_chillIf(const IR_Code *ir, chillAST_Node *ti) {      ir_ = ir; -    ti_ = ti; +    code = ti;    } -  ~IR_clangIf() { +  ~IR_chillIf() {    }    omega::CG_outputRepr *condition() const;    IR_Block *then_body() const; @@ -353,8 +351,6 @@ struct IR_clangIf: public IR_If {    IR_Block *convert();    IR_Control *clone() const;  }; -#endif -  class aClangCompiler {  private:  | 
