diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2017-01-26 16:54:04 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2017-01-26 16:54:04 -0700 |
commit | 699e49d2b1d0c3eca680bfc19e79aa8406f42d6a (patch) | |
tree | d7a63e1ca794ea83675dd9caaa308e76cd883840 /src | |
parent | e36a3da23b104174084093882f939820dc4470e9 (diff) | |
download | chill-clang.tar.gz chill-clang.tar.bz2 chill-clang.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/ast/node.cpp | 1 | ||||
-rwxr-xr-x | src/ir_chill.cc | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/ast/node.cpp b/src/ast/node.cpp index cad5f4c..53b39e4 100644 --- a/src/ast/node.cpp +++ b/src/ast/node.cpp @@ -102,7 +102,6 @@ void chillAST_Node::replaceChild(chillAST_Node *old, chillAST_Node *newchild) { } } CHILL_ERROR("Replace Child Falure, oldchild not a child\n"); - exit(-1); }; void chillAST_Node::loseLoopWithLoopVar(char *var) { diff --git a/src/ir_chill.cc b/src/ir_chill.cc index 8ff9ed1..74f8306 100755 --- a/src/ir_chill.cc +++ b/src/ir_chill.cc @@ -1141,7 +1141,6 @@ void IR_clangCode::ReplaceExpression(IR_Ref *old, omega::CG_outputRepr *repr) { CHILL_ERROR("IR_clangCode::ReplaceExpression() old has no parent ??\n"); exit(-1); } - CASE->getParent()->replaceChild(CASE, newthing); } else if (typeid(*old) == typeid(IR_chillScalarRef)) { |