@@ -4310,7 +4310,6 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
43104310 }
43114311
43124312 void visit_Module (const AST::Module_t &x) {
4313- /* Shiju del*/ std::cout << " We here ya yellow bellied mongrels" << " ----" << " \n " ;
43144313 ASR::asr_t *tmp0 = nullptr ;
43154314 if (current_scope) {
43164315 LCOMPILERS_ASSERT (current_scope->asr_owner );
@@ -4341,11 +4340,9 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
43414340 module_sym = ASR::down_cast<ASR::Module_t>(ASR::down_cast<ASR::symbol_t >(tmp1));
43424341 parent_scope->add_symbol (module_name, ASR::down_cast<ASR::symbol_t >(tmp1));
43434342 current_module_dependencies.reserve (al, 1 );
4344- /* Shiju del*/ std::cout << " Did way du goodie?" << " ----" << " \n " ;
43454343 for (size_t i=0 ; i<x.n_body ; i++) {
43464344 visit_stmt (*x.m_body [i]);
43474345 }
4348- /* Shiju del*/ std::cout << " Did we do good?" << " ----" << " \n " ;
43494346
43504347 LCOMPILERS_ASSERT (module_sym != nullptr );
43514348 module_sym->m_dependencies = current_module_dependencies.p ;
@@ -5109,7 +5106,6 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
51095106 }
51105107
51115108 void visit_Module (const AST::Module_t &x) {
5112- /* Shiju del*/ std::cout << " Inside the Module start" << " ---" << " \n " ;
51135109 ASR::TranslationUnit_t *unit = ASR::down_cast2<ASR::TranslationUnit_t>(asr);
51145110 current_scope = unit->m_symtab ;
51155111 LCOMPILERS_ASSERT (current_scope != nullptr );
@@ -5126,12 +5122,10 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
51265122 Vec<ASR::asr_t *> items;
51275123 items.reserve (al, 4 );
51285124 current_module_dependencies.reserve (al, 1 );
5129- /* Shiju del*/ std::cout << " Inside the Module visitor" << " ---" << " \n " ;
51305125 for (size_t i=0 ; i<x.n_body ; i++) {
51315126 tmp = nullptr ;
51325127 tmp_vec.clear ();
51335128 visit_stmt (*x.m_body [i]);
5134- /* Shiju del*/ std::cout << " Exiting stmt visit" << " ----" << " \n " ;
51355129 for (auto t: global_init) {
51365130 if (t) {
51375131 items.push_back (al, t);
@@ -5168,9 +5162,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
51685162 // Wrap all the global statements into a Function
51695163 LCompilers::PassOptions pass_options;
51705164 pass_options.run_fun = func_name;
5171- /* Shiju del*/ std::cout << " Random spot" << " ----" << " \n " ;
51725165 pass_wrap_global_stmts (al, *unit, pass_options);
5173- /* Shiju del*/ std::cout << " Another random spot" << " ----" << " \n " ;
51745166
51755167 ASR::symbol_t *f_sym = unit->m_symtab ->get_symbol (func_name);
51765168 if (f_sym) {
@@ -5196,7 +5188,6 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
51965188 items.p = nullptr ;
51975189 items.n = 0 ;
51985190 }
5199- /* Shiju del*/ std::cout << " End of the line browski" << " ----" << " \n " ;
52005191
52015192 tmp = asr;
52025193 }
@@ -9043,7 +9034,6 @@ Result<ASR::TranslationUnit_t*> python_ast_to_asr(Allocator &al, LocationManager
90439034 }
90449035
90459036 ASR::TranslationUnit_t *tu = ASR::down_cast2<ASR::TranslationUnit_t>(unit);
9046- /* shiju*/ std::cout << " ;; ASR after SymbolTable Visitor\n " << pickle (*tu, false , true , compiler_options.po .with_intrinsic_mods ) << " \n " ;
90479037 if (compiler_options.po .dump_all_passes ) {
90489038 std::ofstream outfile (" pass_00_initial_asr_01.clj" );
90499039 outfile << " ;; ASR after SymbolTable Visitor\n " << pickle (*tu, false , true , compiler_options.po .with_intrinsic_mods ) << " \n " ;
@@ -9067,7 +9057,6 @@ Result<ASR::TranslationUnit_t*> python_ast_to_asr(Allocator &al, LocationManager
90679057#endif
90689058
90699059 if (!compiler_options.symtab_only ) {
9070- /* Shiju del*/ std::cout << " Injection" << " ---" << " \n " ;
90719060 auto res2 = body_visitor (al, lm, *ast_m, diagnostics, unit, main_module, module_name,
90729061 ast_overload, allow_implicit_casting, eval_count);
90739062 if (res2.ok ) {
0 commit comments