Skip to content

Commit

Permalink
add missing type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Nov 20, 2023
1 parent fac36d8 commit 7ce140e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/compiler/ssair/irinterp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7ce140e

Please sign in to comment.