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)
2623
2623
if (inferred && inferred != jl_nothing ) {
2624
2624
if (jl_options .strip_ir ) {
2625
2625
record_field_change ((jl_value_t * * )& codeinst -> inferred , jl_nothing );
2626
- record_field_change ((jl_value_t * * )& codeinst -> edges , (jl_value_t * )jl_emptysvec );
2627
2626
}
2628
2627
else if (jl_options .strip_metadata ) {
2629
2628
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)
2632
2631
}
2633
2632
}
2634
2633
}
2634
+ if (jl_options .strip_ir )
2635
+ record_field_change ((jl_value_t * * )& codeinst -> edges , (jl_value_t * )jl_emptysvec );
2635
2636
if (jl_options .strip_metadata )
2636
2637
record_field_change ((jl_value_t * * )& codeinst -> debuginfo , (jl_value_t * )jl_nulldebuginfo );
2637
2638
codeinst = jl_atomic_load_relaxed (& codeinst -> next );
You can’t perform that action at this time.
0 commit comments