summaryrefslogtreecommitdiff
path: root/lib/chillcg/src/CG_chillBuilder.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-09 17:22:46 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-09 17:22:46 -0600
commit5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc (patch)
tree91e2305b1a295e13d23798de0ded8882212bd67d /lib/chillcg/src/CG_chillBuilder.cc
parent340f3d1a30449912d73a49cba41be76d29ace36b (diff)
downloadchill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.tar.gz
chill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.tar.bz2
chill-5b5d1934d8870f49cbb1b8f45f228baa5f76d2bc.zip
recovered branch
Diffstat (limited to 'lib/chillcg/src/CG_chillBuilder.cc')
-rwxr-xr-xlib/chillcg/src/CG_chillBuilder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chillcg/src/CG_chillBuilder.cc b/lib/chillcg/src/CG_chillBuilder.cc
index 74622d7..2613910 100755
--- a/lib/chillcg/src/CG_chillBuilder.cc
+++ b/lib/chillcg/src/CG_chillBuilder.cc
@@ -60,7 +60,7 @@ namespace omega {
// No op
break;
default:
- CHILL_ERROR("UNHANDLED statement of type %s %s\n",n->getTypeString());
+ CG_ERROR("UNHANDLED statement of type %s %s\n",n->getTypeString());
exit(-1);
}
return r;
@@ -213,7 +213,7 @@ namespace omega {
CG_outputRepr *lhs,
CG_outputRepr *rhs) const {
if(lhs == NULL || rhs == NULL) {
- CHILL_ERROR("Code generation: Missing lhs or rhs\n");
+ CG_ERROR("Code generation: Missing lhs or rhs\n");
return NULL;
}