Skip to content

Commit bec1156

Browse files
committed
Remove unneeded *mono_arch_init_lmf_ext stub and fix call to mono_g_hash_table_new_type.
1 parent 008d862 commit bec1156

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

mono/mini/il2cpp-compat.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@
229229
#define mono_arch_stop_single_stepping il2cpp_mono_arch_stop_single_stepping
230230
#define mono_arch_skip_breakpoint il2cpp_mono_arch_skip_breakpoint
231231
#define mono_arch_skip_single_step il2cpp_mono_arch_skip_single_step
232-
#define mono_arch_init_lmf_ext il2cpp_mono_arch_init_lmf_ext
233232
#define mono_arch_context_get_int_reg il2cpp_mono_arch_context_get_int_reg
234233
#define mono_arch_context_set_int_reg il2cpp_mono_arch_context_set_int_reg
235234
#define mono_walk_stack_with_ctx il2cpp_mono_walk_stack_with_ctx
@@ -446,7 +445,6 @@ void il2cpp_mono_arch_start_single_stepping();
446445
void il2cpp_mono_arch_stop_single_stepping();
447446
void il2cpp_mono_arch_skip_breakpoint(MonoContext* ctx, MonoJitInfo* ji);
448447
void il2cpp_mono_arch_skip_single_step(MonoContext* ctx);
449-
void il2cpp_mono_arch_init_lmf_ext(MonoLMFExt* ext, gpointer prev_lmf);
450448
mgreg_t il2cpp_mono_arch_context_get_int_reg(MonoContext* ctx, int reg);
451449
void il2cpp_mono_arch_context_set_int_reg(MonoContext* ctx, int reg, mgreg_t val);
452450
void il2cpp_mono_walk_stack_with_ctx(Il2CppMonoJitStackWalk func, MonoContext* start_ctx, MonoUnwindOptions unwind_options, void* user_data);

mono/mini/il2cpp-stubs.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Il2CppMonoMethodSignature* il2cpp_mono_method_signature (MonoMethod *m)
9191
MethodInfo* method = (MethodInfo*)m;
9292

9393
if (method_signatures == NULL)
94-
method_signatures = mono_g_hash_table_new_type(NULL, NULL, MONO_HASH_KEY_GC, MONO_ROOT_SOURCE_DEBUGGER, "method-to-signature for il2cpp table");
94+
method_signatures = mono_g_hash_table_new_type(NULL, NULL, MONO_HASH_KEY_GC, MONO_ROOT_SOURCE_DEBUGGER, NULL, "method-to-signature for il2cpp table");
9595

9696
Il2CppMonoMethodSignature* existing_signature = (Il2CppMonoMethodSignature*)mono_g_hash_table_lookup(method_signatures, method);
9797
if (existing_signature != NULL)
@@ -1119,11 +1119,6 @@ void il2cpp_mono_arch_skip_single_step(MonoContext* ctx)
11191119
IL2CPP_ASSERT(0 && "This method is not yet implemented");
11201120
}
11211121

1122-
void il2cpp_mono_arch_init_lmf_ext(MonoLMFExt* ext, gpointer prev_lmf)
1123-
{
1124-
IL2CPP_ASSERT(0 && "This method is not yet implemented");
1125-
}
1126-
11271122
mgreg_t il2cpp_mono_arch_context_get_int_reg(MonoContext* ctx, int reg)
11281123
{
11291124
IL2CPP_ASSERT(0 && "This method is not yet implemented");

0 commit comments

Comments
 (0)