Skip to content

Commit 0913cbc

Browse files
authored
Fix invalidations in finish_show_ir (#48134)
The whole module is under `@nospecialize`, so inference needs us to annotate the argtypes.
1 parent dc2b4d9 commit 0913cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/ssair/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ function show_ir_stmts(io::IO, ir::Union{IRCode, CodeInfo, IncrementalCompact},
858858
return bb_idx
859859
end
860860

861-
function finish_show_ir(io::IO, cfg, config::IRShowConfig)
861+
function finish_show_ir(io::IO, cfg::CFG, config::IRShowConfig)
862862
max_bb_idx_size = length(string(length(cfg.blocks)))
863863
config.line_info_preprinter(io, " "^(max_bb_idx_size + 2), 0)
864864
return nothing

0 commit comments

Comments
 (0)