Revert "Merge branch 'master' of https://github.com/mono/mono"
[mono.git] / mono / mini / mini.c
index 3a9ff6b7c2765f9c91d810df2d9cca58f980cf2b..110540968a2a6121ddced521f828225725b73724 100644 (file)
@@ -2405,8 +2405,6 @@ register_opcode_emulation (int opcode, const char *name, const char *sigstr, gpo
 /*
  * For JIT icalls implemented in C.
  * NAME should be the same as the name of the C function whose address is FUNC.
- * If SAVE is TRUE, no wrapper is generated. This is for perf critical icalls which
- * can't throw exceptions.
  */
 static void
 register_icall (gpointer func, const char *name, const char *sigstr, gboolean save)
@@ -7624,7 +7622,7 @@ mini_init (const char *filename, const char *runtime_version)
 #endif
 
 #ifdef TARGET_IOS
-       register_icall (pthread_getspecific, "pthread_getspecific", "ptr ptr", TRUE);
+       register_icall (pthread_getspecific, "pthread_getspecific", NULL, TRUE);
 #endif
 
        mono_generic_sharing_init ();