summaryrefslogtreecommitdiff
path: root/src/ir_clang.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_clang.cc')
-rwxr-xr-xsrc/ir_clang.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_clang.cc b/src/ir_clang.cc
index b5634af..cb4cbb8 100755
--- a/src/ir_clang.cc
+++ b/src/ir_clang.cc
@@ -3085,7 +3085,7 @@ std::vector<omega::CG_outputRepr *> IR_clangCode::QueryExpOperand(const omega::C
chillAST_UnaryOperator *uop = (chillAST_UnaryOperator *) e;
char *op = uop->op; // TODO enum
if (!strcmp(op, "+") || !strcmp(op, "-")) {
- v.push_back(new omega::CG_chillRepr(uop->subexpr));
+ v.push_back(new omega::CG_chillRepr(uop->getSubExpr()));
} else {
CHILL_ERROR("ir_clang.cc IR_clangCode::QueryExpOperand() Unary Operator UNHANDLED op (%s)\n", op);
exit(-1);