diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 19:27:15 +0000 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 19:27:15 +0000 |
commit | ad1cadf3512f3dd789151983e5c93af411f929db (patch) | |
tree | d6d25d562617d9bec7b13286cf413ed8f7567275 /chill/src/ir_rose.cc | |
parent | cfafd2ffcad803e7bb02b60c085eafd73f28f87a (diff) | |
download | chill-ad1cadf3512f3dd789151983e5c93af411f929db.tar.gz chill-ad1cadf3512f3dd789151983e5c93af411f929db.tar.bz2 chill-ad1cadf3512f3dd789151983e5c93af411f929db.zip |
restructure
Diffstat (limited to 'chill/src/ir_rose.cc')
-rw-r--r-- | chill/src/ir_rose.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chill/src/ir_rose.cc b/chill/src/ir_rose.cc index 5acb175..dc11b4c 100644 --- a/chill/src/ir_rose.cc +++ b/chill/src/ir_rose.cc @@ -927,7 +927,7 @@ IR_ScalarSymbol *IR_roseCode::CreateScalarSymbol(const IR_Symbol *sym, int) { if (typeid(*sym) == typeid(IR_roseScalarSymbol)) { SgType *tn = static_cast<const IR_roseScalarSymbol *>(sym)->vs_->get_type(); - sprintf(str1, "newVariable%i\0", i_); + sprintf(str1, "newVariable%i", i_); SgVariableDeclaration* defn = buildVariableDeclaration(str1, tn); i_++; @@ -958,7 +958,7 @@ IR_ScalarSymbol *IR_roseCode::CreateScalarSymbol(const IR_Symbol *sym, int) { "in CreateScalarSymbol: symbol not an array nor a pointer!"); } - sprintf(str1, "newVariable%i\0", i_); + sprintf(str1, "newVariable%i", i_); i_++; SgVariableDeclaration* defn1 = buildVariableDeclaration(str1, tn1); |