From e23d7ed54ed8c30c372d6d7370757e0cabf3b314 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Mon, 15 Apr 2024 07:27:23 -0400 Subject: [PATCH] Adjust to julia#54076 (#565) --- src/interpreter.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/interpreter.jl b/src/interpreter.jl index 1c3571ed..d3e54f30 100644 --- a/src/interpreter.jl +++ b/src/interpreter.jl @@ -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