File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1927,9 +1927,8 @@ R"(#include <stdio.h>
1927
1927
gotoid2name[x.m_target_id ] = std::string (x.m_name );
1928
1928
}
1929
1929
1930
- void visit_GoToTarget (const ASR::GoToTarget_t & /* x */ ) {
1931
- // Ignore for now
1932
- src = " " ;
1930
+ void visit_GoToTarget (const ASR::GoToTarget_t &x) {
1931
+ src = std::string (x.m_name ) + " :\n " ;
1933
1932
}
1934
1933
1935
1934
void visit_Stop (const ASR::Stop_t &x) {
Original file line number Diff line number Diff line change @@ -196,11 +196,13 @@ namespace LCompilers {
196
196
" inline_function_calls"
197
197
};
198
198
199
- // These are well re-write passes which are already handled
199
+ // These are re-write passes which are already handled
200
200
// appropriately in C backend.
201
201
_c_skip_passes = {
202
202
" pass_list_expr" ,
203
- " print_list_tuple"
203
+ " print_list_tuple" ,
204
+ " do_loops" ,
205
+ " inline_function_calls"
204
206
};
205
207
_user_defined_passes.clear ();
206
208
}
You can’t perform that action at this time.
0 commit comments