Skip to content

Commit

Permalink
appease SA
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Nov 20, 2023
1 parent 02650da commit 6a5c024
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/staticdata_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,11 @@ static void jl_insert_backedges(jl_array_t *edges, jl_array_t *ext_targets, jl_a
// have some new external code to use
assert(jl_is_code_instance(ci));
jl_code_instance_t *codeinst = (jl_code_instance_t*)ci;
jl_value_t *owner = codeinst->owner;
JL_GC_PROMISE_ROOTED(owner);
assert(codeinst->min_world == minworld && jl_atomic_load_relaxed(&codeinst->inferred) );
codeinst->max_world = maxvalid;
if (jl_rettype_inferred(codeinst->owner, caller, minworld, maxvalid) == jl_nothing) {
if (jl_rettype_inferred(owner, caller, minworld, maxvalid) == jl_nothing) {
jl_mi_cache_insert(caller, codeinst);
}
}
Expand Down

0 comments on commit 6a5c024

Please sign in to comment.