Skip to content

Commit e23d7ed

Browse files
authored
Adjust to julia#54076 (#565)
1 parent e5c7b83 commit e23d7ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/interpreter.jl

+3
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ function CC.IRInterpretationState(interp::CthulhuInterpreter,
201201
ir = CC.copy(inferred.ir)
202202
src = inferred.src
203203
method_info = CC.MethodInfo(src)
204+
if VERSION >= v"1.12.0-DEV.341"
205+
argtypes = CC.va_process_argtypes(CC.optimizer_lattice(interp), argtypes, mi)
206+
end
204207
return CC.IRInterpretationState(interp, method_info, ir, mi, argtypes, world,
205208
code.min_world, code.max_world)
206209
end

0 commit comments

Comments
 (0)