[mono/mono] ea4d5946: [runtime] Add a missing TLS key for LMF addr.

"Zoltan Varga ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141e1452da9-9c516a61-765c-43ed-8a7c-ace3ce6e41ba-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/3153dec19066...ea4d5946398f

   Commit: ea4d5946398ff1869c044223fb1379c0a6b4a361
   Author: Zoltan Varga <[email protected]> (vargaz)
     Date: 2013-10-22 17:44:02 GMT
      URL: https://github.com/mono/mono/commit/ea4d5946398ff1869c044223fb1379c0a6b4a361

[runtime] Add a missing TLS key for LMF addr.

Changed paths:
  M mono/mini/mini.c
  M mono/utils/mono-tls.h

Modified: mono/mini/mini.c
===================================================================
@@ -2933,6 +2933,9 @@ void *mono_global_codeman_reserve (int size)
 	case TLS_KEY_LMF:
 		offset = mono_get_lmf_tls_offset ();
 		break;
+	case TLS_KEY_LMF_ADDR:
+		offset = mono_get_lmf_addr_tls_offset ();
+		break;
 	default:
 		offset = mono_tls_key_get_offset (key);
 		g_assert (offset != -1);

Modified: mono/utils/mono-tls.h
===================================================================
@@ -25,7 +25,8 @@
 	TLS_KEY_SGEN_TLAB_NEXT_ADDR = 5,
 	TLS_KEY_SGEN_TLAB_TEMP_END = 6,
 	TLS_KEY_BOEHM_GC_THREAD = 7,
-	TLS_KEY_NUM = 8
+	TLS_KEY_LMF_ADDR = 8,
+	TLS_KEY_NUM = 9
 } MonoTlsKey;
 
 #ifdef HOST_WIN32


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.