From 5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sun, 9 Oct 2016 17:22:46 -0600 Subject: recovered branch --- include/ir_clang.hh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'include/ir_clang.hh') 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: -- cgit v1.2.3-70-g09d2