You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reverts commit bdf8219, from
#56749
**Note that this PR is made against `backports-release-1.11`.**
Rationale: when coverage is on, both the native code and the inferred
code might be eliminated, a complete loss of all precompilation results.
There are intentions to adopt a new strategy for Julia 1.12, but in the
meantime we should revert this change since it is "just" a sysimg size
reduction.
Affected Julia versions: 1.11.3, 1.11.4
xref
timholy/SnoopCompile.jl#413 (comment)
!jl_generating_output()) || // don't delete code when generating a precompile file, trading memory in the short term for avoiding likely duplicating inference work for aotcompile
9685
-
jl_atomic_load_relaxed(&codeinst->invoke) == jl_fptr_const_return_addr)) { // unless it is constant (although this shouldn't have had code in the first place)
9682
+
!effects_foldable(codeinst->ipo_purity_bits) && // don't delete code we may want for irinterp
0 commit comments