From d97bb83cdfdf55bf0abdbcbdfc6cf61d7f062d01 Mon Sep 17 00:00:00 2001 From: William Moses Date: Sun, 29 Sep 2024 22:39:31 -0500 Subject: [PATCH] Stabilize global (#1928) --- src/rules/jitrules.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/jitrules.jl b/src/rules/jitrules.jl index f169ab2c4b..bf98aaf885 100644 --- a/src/rules/jitrules.jl +++ b/src/rules/jitrules.jl @@ -458,7 +458,7 @@ function body_runtime_generic_augfwd(N, Width, wrapped, primttypes, active_refs) end internal_tape, origRet, initShadow, annotation = if f isa typeof(Core.getglobal) - gv = Core.getglobal(map(x->x.val, args)...) + gv = Core.getglobal(args[1].val, args[2].val) @assert sizeof(gv) == 0 (nothing, gv, nothing, Const) else