Skip to content

Commit

Permalink
[mono][interp] Fix inlining of ldarga (#97553)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrzVlad committed Jan 29, 2024
1 parent 71da83b commit d6f23f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/interp/transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -7763,7 +7763,7 @@ generate_code (TransformData *td, MonoMethod *method, MonoMethodHeader *header,
} else {
int loc_n = arg_locals [n];
interp_add_ins (td, MINT_LDLOCA_S);
interp_ins_set_sreg (td->last_ins, n);
interp_ins_set_sreg (td->last_ins, loc_n);
td->vars [loc_n].indirects++;
}
push_simple_type (td, STACK_TYPE_MP);
Expand Down

0 comments on commit d6f23f9

Please sign in to comment.