Skip to content

Commit ed3fccc

Browse files
authored
Compiler: abstract_eval_invoke_inst: type assert Expr (#57860)
Should make the code less vulnerable to invalidation.
1 parent 626d541 commit ed3fccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/src/ssair/irinterp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function concrete_eval_invoke(interp::AbstractInterpreter, ci::CodeInstance, arg
3232
end
3333

3434
function abstract_eval_invoke_inst(interp::AbstractInterpreter, inst::Instruction, irsv::IRInterpretationState)
35-
stmt = inst[:stmt]
35+
stmt = inst[:stmt]::Expr
3636
ci = stmt.args[1]
3737
if ci isa MethodInstance
3838
world = frame_world(irsv)

0 commit comments

Comments
 (0)