File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2623,7 +2623,6 @@ static void strip_specializations_(jl_method_instance_t *mi)
26232623 if (inferred && inferred != jl_nothing ) {
26242624 if (jl_options .strip_ir ) {
26252625 record_field_change ((jl_value_t * * )& codeinst -> inferred , jl_nothing );
2626- record_field_change ((jl_value_t * * )& codeinst -> edges , (jl_value_t * )jl_emptysvec );
26272626 }
26282627 else if (jl_options .strip_metadata ) {
26292628 jl_value_t * stripped = strip_codeinfo_meta (mi -> def .method , inferred , codeinst );
@@ -2632,6 +2631,8 @@ static void strip_specializations_(jl_method_instance_t *mi)
26322631 }
26332632 }
26342633 }
2634+ if (jl_options .strip_ir )
2635+ record_field_change ((jl_value_t * * )& codeinst -> edges , (jl_value_t * )jl_emptysvec );
26352636 if (jl_options .strip_metadata )
26362637 record_field_change ((jl_value_t * * )& codeinst -> debuginfo , (jl_value_t * )jl_nulldebuginfo );
26372638 codeinst = jl_atomic_load_relaxed (& codeinst -> next );
You can’t perform that action at this time.
0 commit comments