diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 13:25:57 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-30 13:25:57 -0600 |
commit | 87e7538503756d036fec4c2b18a9c19d126626a4 (patch) | |
tree | 9a3832c1dda7c785905cbcc619bacfbd07d8bf2a /include/ir_clang.hh | |
parent | f00e425e1d6ee51027e6ba66d0a82355fd788f9e (diff) | |
download | chill-87e7538503756d036fec4c2b18a9c19d126626a4.tar.gz chill-87e7538503756d036fec4c2b18a9c19d126626a4.tar.bz2 chill-87e7538503756d036fec4c2b18a9c19d126626a4.zip |
Binary Ternary
Diffstat (limited to 'include/ir_clang.hh')
-rwxr-xr-x | include/ir_clang.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ir_clang.hh b/include/ir_clang.hh index 81a6fde..9b9e4be 100755 --- a/include/ir_clang.hh +++ b/include/ir_clang.hh @@ -149,7 +149,7 @@ struct IR_chillScalarRef : public IR_ScalarRef { dre = NULL; //bop = ins; // do we need this? if (pos == OP_LEFT) { - chillAST_Node *lhs = ins->lhs; + chillAST_Node *lhs = ins->getLHS(); if (lhs->isDeclRefExpr()) { chillAST_DeclRefExpr *DRE = (chillAST_DeclRefExpr *) lhs; dre = DRE; @@ -161,7 +161,7 @@ struct IR_chillScalarRef : public IR_ScalarRef { exit(-1); } } else { - chillAST_Node *rhs = ins->rhs; + chillAST_Node *rhs = ins->getRHS(); if (rhs->isDeclRefExpr()) { chillAST_DeclRefExpr *DRE = (chillAST_DeclRefExpr *) rhs; dre = DRE; |