summaryrefslogtreecommitdiff
path: root/lib/chillcg/include
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-02 14:10:10 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-02 14:10:10 -0600
commitd2176835fc6e497a6c3e19b4630745c3911bde2c (patch)
treead4b207876c32f80dc62ccce47cf99458d8a2e5e /lib/chillcg/include
parentdb3ff28ba74ff76aaac9e73d1b208e17992864cb (diff)
downloadchill-d2176835fc6e497a6c3e19b4630745c3911bde2c.tar.gz
chill-d2176835fc6e497a6c3e19b4630745c3911bde2c.tar.bz2
chill-d2176835fc6e497a6c3e19b4630745c3911bde2c.zip
fixes
Diffstat (limited to 'lib/chillcg/include')
-rwxr-xr-xlib/chillcg/include/code_gen/CG_chillRepr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chillcg/include/code_gen/CG_chillRepr.h b/lib/chillcg/include/code_gen/CG_chillRepr.h
index 34e9876..ea2048b 100755
--- a/lib/chillcg/include/code_gen/CG_chillRepr.h
+++ b/lib/chillcg/include/code_gen/CG_chillRepr.h
@@ -39,13 +39,11 @@ namespace omega {
CG_chillRepr(chillAST_Node *chillast) {
stmtclassname = strdup(chillast->getTypeString());
- //fprintf(stderr, "made new chillRepr of class %s\n", stmtclassname);
if (chillast->getType() == CHILLAST_NODE_COMPOUNDSTMT) {
std::vector<chillAST_Node *> &children = *(chillast->getChildren());
int numchildren = children.size();
for (int i = 0; i < numchildren; i++) {
chillnodes.push_back(children[i]);
- //fprintf(stderr, "adding a statement from a CompoundStmt\n");
}
} else { // for now, assume it's a single statement
chillnodes.push_back(chillast); // ??
@@ -72,12 +70,9 @@ namespace omega {
void dump() const { printChillNodes(); };
void Dump() const;
- //void DumpToFile(FILE *fp = stderr) const;
private:
-
char *stmtclassname; // chill
-
};