@@ -113,11 +113,6 @@ def handle_expr(func, module, builder, expr, local_sym_tab, map_sym_tab):
113113 handle_helper_call (
114114 call , module , builder , func , local_sym_tab , map_sym_tab )
115115 return
116- # I VIBED THIS WITHOUT UNDERSTANDING THIS PART>>>> TODO: check this later
117- if call .func .id in helper_func_list :
118- handle_helper_call (
119- call , module , builder , func , local_sym_tab , map_sym_tab )
120- return
121116 elif isinstance (call , ast .Name ):
122117 if call .id in local_sym_tab :
123118 var = local_sym_tab [call .id ]
@@ -182,7 +177,7 @@ def handle_if(func, module, builder, stmt, map_sym_tab, local_sym_tab):
182177
183178
184179def process_stmt (func , module , builder , stmt , local_sym_tab , map_sym_tab , did_return , ret_type = ir .IntType (64 )):
185- print (f"Processing statement: { ast .dump (stmt )} " )
180+ # print(f"Processing statement: {ast.dump(stmt)}")
186181 if isinstance (stmt , ast .Expr ):
187182 handle_expr (func , module , builder , stmt , local_sym_tab , map_sym_tab )
188183 elif isinstance (stmt , ast .Assign ):
0 commit comments