diff --git a/base/compiler/ssair/irinterp.jl b/base/compiler/ssair/irinterp.jl index 5b414f8786e98d..b1c3fddc3df6ef 100644 --- a/base/compiler/ssair/irinterp.jl +++ b/base/compiler/ssair/irinterp.jl @@ -51,7 +51,7 @@ function abstract_call(interp::AbstractInterpreter, arginfo::ArgInfo, irsv::IRIn return RTEffects(rt, exct, effects) end -function kill_block!(ir, bb) +function kill_block!(ir::IRCode, bb::Int) # Kill the entire block stmts = ir.cfg.blocks[bb].stmts for bidx = stmts @@ -64,7 +64,6 @@ function kill_block!(ir, bb) return end - function update_phi!(irsv::IRInterpretationState, from::Int, to::Int) ir = irsv.ir if length(ir.cfg.blocks[to].preds) == 0