Skip to content

Commit

Permalink
Adjust to julia#54076 (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno authored Apr 15, 2024
1 parent e5c7b83 commit e23d7ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ function CC.IRInterpretationState(interp::CthulhuInterpreter,
ir = CC.copy(inferred.ir)
src = inferred.src
method_info = CC.MethodInfo(src)
if VERSION >= v"1.12.0-DEV.341"
argtypes = CC.va_process_argtypes(CC.optimizer_lattice(interp), argtypes, mi)
end
return CC.IRInterpretationState(interp, method_info, ir, mi, argtypes, world,
code.min_world, code.max_world)
end
Expand Down

0 comments on commit e23d7ed

Please sign in to comment.