From f27e01a039195c379fd6716c4870858789941365 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 22 Sep 2016 12:11:16 -0600 Subject: new debug interface --- include/chill_ast.hh | 6 +++--- include/chilldebug.h | 17 ++++++++++++----- include/ir_clang.hh | 4 +++- include/ir_code.hh | 1 + 4 files changed, 19 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/chill_ast.hh b/include/chill_ast.hh index a0cfe2d..43eb106 100644 --- a/include/chill_ast.hh +++ b/include/chill_ast.hh @@ -293,8 +293,8 @@ public: } virtual void replaceChild( chillAST_node *old, chillAST_node *newchild ) { - fprintf(stderr,"(%s) forgot to implement replaceChild() ... using generic\n" ,Chill_AST_Node_Names[asttype]); - fprintf(stderr, "%d children\n", children.size()); + fprintf(stderr,"(%s) forgot to implement replaceChild() ... using generic\n" ,Chill_AST_Node_Names[asttype]); + fprintf(stderr, "%d children\n", children.size()); for (int i=0; i