Skip to content

Commit

Permalink
fix arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed Apr 20, 2024
1 parent 18b9bfb commit 2702209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -2853,7 +2853,7 @@ mono_jit_compile_method_with_opt (MonoMethod *method, guint32 opt, gboolean jit_
p = mono_create_ftnptr (code);

if (callinfo) {
mono_atomic_cas_ptr ((volatile void*)&callinfo->wrapper__, NULL, p);
mono_atomic_cas_ptr ((volatile void*)&callinfo->wrapper__, p, NULL);
p = mono_atomic_load_ptr((volatile gpointer*)&callinfo->wrapper__);
}

Expand Down

0 comments on commit 2702209

Please sign in to comment.