diff options
author | Vlad Brezae <brezaevlad@gmail.com> | 2017-02-23 01:56:29 +0300 |
---|---|---|
committer | Vlad Brezae <brezaevlad@gmail.com> | 2017-02-23 01:56:29 +0300 |
commit | 8d3e2a3c8228e50c3caf1cb28108421f9ffb50e3 (patch) | |
tree | fab3930459b1d0e17a60827e59269a92e52a4c80 | |
parent | 17c5a00c59613a7c5dbce76af5107a14c3e89f76 (diff) |
[sgen] Rename confusing variable
-rw-r--r-- | mono/metadata/sgen-mono.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mono/metadata/sgen-mono.c b/mono/metadata/sgen-mono.c index fc82365a933..36bbdfa5c95 100644 --- a/mono/metadata/sgen-mono.c +++ b/mono/metadata/sgen-mono.c @@ -1051,7 +1051,7 @@ create_allocator (int atype, ManagedAllocatorVariant variant) { int p_var, size_var, real_size_var, thread_var G_GNUC_UNUSED; gboolean slowpath = variant == MANAGED_ALLOCATOR_SLOW_PATH; - guint32 slowpath_branch, max_size_branch; + guint32 fastpath_branch, max_size_branch; MonoMethodBuilder *mb; MonoMethod *res; MonoMethodSignature *csig; @@ -1318,7 +1318,7 @@ create_allocator (int atype, ManagedAllocatorVariant variant) /* if (G_LIKELY (new_next < tlab_temp_end)) */ mono_mb_emit_ldloc (mb, new_next_var); EMIT_TLS_ACCESS_TEMP_END (mb, thread_var); - slowpath_branch = mono_mb_emit_short_branch (mb, MONO_CEE_BLT_UN_S); + fastpath_branch = mono_mb_emit_short_branch (mb, MONO_CEE_BLT_UN_S); /* Slowpath */ if (atype != ATYPE_SMALL) @@ -1356,7 +1356,7 @@ create_allocator (int atype, ManagedAllocatorVariant variant) mono_mb_emit_byte (mb, CEE_RET); /* Fastpath */ - mono_mb_patch_short_branch (mb, slowpath_branch); + mono_mb_patch_short_branch (mb, fastpath_branch); /* FIXME: Memory barrier */ |