Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Jun 6, 2024
1 parent 0708fa9 commit 87a7335
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 @@ -4460,7 +4460,7 @@ interp_method_compute_offsets (TransformData *td, InterpMethod *imethod, MonoMet

if (td->optimized) {
td->renamable_vars = (InterpRenamableVar*)g_malloc (num_locals * sizeof (InterpRenamableVar));
td->renamable_vars_capacity = target_vars_capacity;
td->renamable_vars_capacity = num_locals;
} else {
td->renamable_vars = NULL;
td->renamable_vars_capacity = 0;
Expand Down

0 comments on commit 87a7335

Please sign in to comment.