@@ -555,6 +555,7 @@ function show_ir(io::IO, code::IRCode, expr_type_printer=default_expr_type_print
555
555
else
556
556
bb_guard_rail = bb_guard_rail_cont
557
557
end
558
+ floop = true
558
559
# Print linetable information
559
560
if verbose_linetable
560
561
stack = compute_loc_stack (code. linetable, stmt[:line ])
@@ -568,10 +569,11 @@ function show_ir(io::IO, code::IRCode, expr_type_printer=default_expr_type_print
568
569
printstyled (io, " \e [$(start_column) G$(rail) \e [1G" , color = :light_black )
569
570
print (io, bb_guard_rail)
570
571
ssa_guard = " " ^ (maxlength_idx + 4 + (i - 1 ))
571
- entry_label = " $(ssa_guard)$(method_name (entry)) at $(entry. file) :$(entry[ : line] ) "
572
+ entry_label = " $(ssa_guard)$(method_name (entry)) at $(entry. file) :$(entry. line) "
572
573
hline = string (" ─" ^ (start_column- length (entry_label)- length (bb_guard_rail)+ max_depth- i), " ┐" )
573
574
printstyled (io, string (entry_label, hline), " \n " ; color= :light_black )
574
575
bb_guard_rail = bb_guard_rail_cont
576
+ floop = false
575
577
end
576
578
end
577
579
printstyled (io, " \e [$(start_column) G$(rail) \e [1G" , color = :light_black )
@@ -602,7 +604,6 @@ function show_ir(io::IO, code::IRCode, expr_type_printer=default_expr_type_print
602
604
if idx == last (bbrange)
603
605
print_sep = true
604
606
end
605
- floop = true
606
607
# print new nodes first in the right position
607
608
while perm_idx <= length (new_nodes_perm)
608
609
node_idx = new_nodes_perm[perm_idx]
0 commit comments