From 7ce140ea782c847c2c2253a65301d295b10aa183 Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Mon, 20 Nov 2023 18:17:28 +0900 Subject: [PATCH] add missing type annotations --- base/compiler/ssair/irinterp.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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