Skip to content

Commit

Permalink
Stabilize global
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Sep 30, 2024
1 parent 288a419 commit dec1d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/jitrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dec1d10

Please sign in to comment.