diff options
| author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-25 11:06:42 -0600 | 
|---|---|---|
| committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-25 11:06:42 -0600 | 
| commit | 2a5618583e1fdc8cde0308d3e5b1873bc94c5fb1 (patch) | |
| tree | 51e83cb14c9ba846ff5e2b8dd6c017e9b57dea75 /include/chillAST/chillAST_node.hh | |
| parent | 51c4aaaa21a124abafe3f950e12c3c25ddbe0812 (diff) | |
| download | chill-2a5618583e1fdc8cde0308d3e5b1873bc94c5fb1.tar.gz chill-2a5618583e1fdc8cde0308d3e5b1873bc94c5fb1.tar.bz2 chill-2a5618583e1fdc8cde0308d3e5b1873bc94c5fb1.zip | |
staging
Diffstat (limited to 'include/chillAST/chillAST_node.hh')
| -rw-r--r-- | include/chillAST/chillAST_node.hh | 11 | 
1 files changed, 2 insertions, 9 deletions
| diff --git a/include/chillAST/chillAST_node.hh b/include/chillAST/chillAST_node.hh index 80f1be4..bed2f22 100644 --- a/include/chillAST/chillAST_node.hh +++ b/include/chillAST/chillAST_node.hh @@ -25,7 +25,6 @@ public:    char *filename;    //! for compiler internals, formerly a comment    char *metacomment; -  std::vector<chillAST_Preprocessing *> preprocessinginfo;    //! for manufactured scalars     static int chill_scalar_counter; @@ -418,7 +417,7 @@ public:      fprintf(fp, "(%s) forgot to implement printName()\n", getTypeString());    };// print CODE  -  //! The AST's print version +  //! The AST's print version, for reason unknown and incorrect    virtual char *stringRep(int indent = 0) {      fflush(stdout);      // TODO chillindent(indent, fp); @@ -426,9 +425,6 @@ public:      exit(-1);    } - -  virtual void printonly(int indent = 0, FILE *fp = stderr) { print(indent, fp); }; -    virtual void getTopLevelLoops(std::vector<chillAST_ForStmt *> &loops) {      int n = children.size();      for (int i = 0; i < n; i++) { @@ -528,14 +524,11 @@ public:      fprintf(stderr, "\n\n");    } -  void printPreprocBEFORE(int indent, FILE *fp); - -  void printPreprocAFTER(int indent, FILE *fp); -    virtual chillAST_SymbolTable* getParameters() {return parameters;}    virtual chillAST_VarDecl* getParameter(const char * name);    virtual void addParameter(chillAST_VarDecl* name); +  //! Emulation of the old dump function but using printer instead of hardcoded heuritics    void dump(int indent=0,FILE *fp = stderr);  }; | 
