Commits

Anonymous committed 48a0c09

dumping function CFG along with AST when in debug mode

Comments (0)

Files changed (1)

lib/axtor/pass/Serializer.cpp

 				ast::FunctionNode * funcNode = ASTs.at(func);
 #ifdef DEBUG
 				funcNode->dump();
+				func->dump();
 #endif
 				runOnFunction(backend, modWriter, globalScope, funcNode);
 			}