瀏覽代碼

Remove mono_arch_free_jit_tls_data. (#15662)

Jay Krell 6 年之前
父節點
當前提交
3e432663cd

+ 0 - 5
mono/mini/mini-amd64.c

@@ -8010,11 +8010,6 @@ mono_arch_finish_init (void)
 #endif
 #endif
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 #define CMP_SIZE (6 + 1)
 #define CMP_SIZE (6 + 1)
 #define CMP_REG_REG_SIZE (4 + 1)
 #define CMP_REG_REG_SIZE (4 + 1)
 #define BR_SMALL_SIZE 2
 #define BR_SMALL_SIZE 2

+ 0 - 5
mono/mini/mini-arm.c

@@ -6855,11 +6855,6 @@ mono_arch_finish_init (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 MonoInst*
 MonoInst*
 mono_arch_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsig, MonoInst **args)
 mono_arch_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsig, MonoInst **args)
 {
 {

+ 0 - 5
mono/mini/mini-arm64.c

@@ -1008,11 +1008,6 @@ mono_arch_patch_code_new (MonoCompile *cfg, MonoDomain *domain, guint8 *code, Mo
 	}
 	}
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 void
 void
 mono_arch_flush_register_windows (void)
 mono_arch_flush_register_windows (void)
 {
 {

+ 0 - 5
mono/mini/mini-mips.c

@@ -5251,11 +5251,6 @@ mono_arch_finish_init (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 void
 void
 mono_arch_emit_this_vret_args (MonoCompile *cfg, MonoCallInst *inst, int this_reg, int this_type, int vt_reg)
 mono_arch_emit_this_vret_args (MonoCompile *cfg, MonoCallInst *inst, int this_reg, int this_type, int vt_reg)
 {
 {

+ 0 - 5
mono/mini/mini-ppc.c

@@ -5474,11 +5474,6 @@ mono_arch_finish_init (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 #define CMP_SIZE (PPC_LOAD_SEQUENCE_LENGTH + 4)
 #define CMP_SIZE (PPC_LOAD_SEQUENCE_LENGTH + 4)
 #define BR_SIZE 4
 #define BR_SIZE 4
 #define LOADSTORE_SIZE 4
 #define LOADSTORE_SIZE 4

+ 0 - 5
mono/mini/mini-riscv.c

@@ -45,11 +45,6 @@ mono_arch_register_lowlevel_calls (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 void
 void
 mono_arch_cleanup (void)
 mono_arch_cleanup (void)
 {
 {

+ 0 - 1
mono/mini/mini-runtime.c

@@ -944,7 +944,6 @@ free_jit_tls_data (MonoJitTlsData *jit_tls)
 	//This happens during AOT cuz the thread is never attached
 	//This happens during AOT cuz the thread is never attached
 	if (!jit_tls)
 	if (!jit_tls)
 		return;
 		return;
-	mono_arch_free_jit_tls_data (jit_tls);
 	mono_free_altstack (jit_tls);
 	mono_free_altstack (jit_tls);
 
 
 	g_free (jit_tls->first_lmf);
 	g_free (jit_tls->first_lmf);

+ 0 - 13
mono/mini/mini-s390x.c

@@ -5923,19 +5923,6 @@ mono_arch_finish_init (void)
 
 
 /*========================= End of Function ========================*/
 /*========================= End of Function ========================*/
 
 
-/*------------------------------------------------------------------*/
-/*                                                                  */
-/* Name		- mono_arch_free_jit_tls_data                       */
-/*                                                                  */
-/* Function	- Free tls data.                                    */
-/*		                               			    */
-/*------------------------------------------------------------------*/
-
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 /*========================= End of Function ========================*/
 /*========================= End of Function ========================*/
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 0 - 5
mono/mini/mini-sparc.c

@@ -4347,11 +4347,6 @@ mono_arch_finish_init (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 MonoInst*
 MonoInst*
 mono_arch_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsig, MonoInst **args)
 mono_arch_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSignature *fsig, MonoInst **args)
 {
 {

+ 0 - 6
mono/mini/mini-wasm.c

@@ -441,12 +441,6 @@ mono_arch_flush_register_windows (void)
 {
 {
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
-
 MonoMethod*
 MonoMethod*
 mono_arch_find_imt_method (host_mgreg_t *regs, guint8 *code)
 mono_arch_find_imt_method (host_mgreg_t *regs, guint8 *code)
 {
 {

+ 0 - 5
mono/mini/mini-x86.c

@@ -5406,11 +5406,6 @@ mono_arch_finish_init (void)
 	}
 	}
 }
 }
 
 
-void
-mono_arch_free_jit_tls_data (MonoJitTlsData *tls)
-{
-}
-
 // Linear handler, the bsearch head compare is shorter
 // Linear handler, the bsearch head compare is shorter
 //[2 + 4] x86_alu_reg_imm (code, X86_CMP, ins->sreg1, ins->inst_imm);
 //[2 + 4] x86_alu_reg_imm (code, X86_CMP, ins->sreg1, ins->inst_imm);
 //[1 + 1] x86_branch8(inst,cond,imm,is_signed)
 //[1 + 1] x86_branch8(inst,cond,imm,is_signed)

+ 0 - 1
mono/mini/mini.h

@@ -2347,7 +2347,6 @@ void      mono_arch_lowering_pass               (MonoCompile *cfg, MonoBasicBloc
 void      mono_arch_peephole_pass_1             (MonoCompile *cfg, MonoBasicBlock *bb);
 void      mono_arch_peephole_pass_1             (MonoCompile *cfg, MonoBasicBlock *bb);
 void      mono_arch_peephole_pass_2             (MonoCompile *cfg, MonoBasicBlock *bb);
 void      mono_arch_peephole_pass_2             (MonoCompile *cfg, MonoBasicBlock *bb);
 void      mono_arch_output_basic_block          (MonoCompile *cfg, MonoBasicBlock *bb);
 void      mono_arch_output_basic_block          (MonoCompile *cfg, MonoBasicBlock *bb);
-void      mono_arch_free_jit_tls_data           (MonoJitTlsData *tls);
 void      mono_arch_fill_argument_info          (MonoCompile *cfg);
 void      mono_arch_fill_argument_info          (MonoCompile *cfg);
 void      mono_arch_allocate_vars               (MonoCompile *m);
 void      mono_arch_allocate_vars               (MonoCompile *m);
 int       mono_arch_get_argument_info           (MonoMethodSignature *csig, int param_count, MonoJitArgumentInfo *arg_info);
 int       mono_arch_get_argument_info           (MonoMethodSignature *csig, int param_count, MonoJitArgumentInfo *arg_info);