summaryrefslogtreecommitdiff
path: root/chill/src/ir_rose.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-17 19:27:15 +0000
committerTuowen Zhao <ztuowen@gmail.com>2016-09-17 19:27:15 +0000
commitad1cadf3512f3dd789151983e5c93af411f929db (patch)
treed6d25d562617d9bec7b13286cf413ed8f7567275 /chill/src/ir_rose.cc
parentcfafd2ffcad803e7bb02b60c085eafd73f28f87a (diff)
downloadchill-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.cc4
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);