summaryrefslogtreecommitdiff
path: root/lib/chillcg/include/code_gen/CG_chillRepr.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chillcg/include/code_gen/CG_chillRepr.h')
-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
-
};