Author: zoltan
Date: 2006-09-24 13:11:12 -0400 (Sun, 24 Sep 2006)
New Revision: 65866

Modified:
   trunk/mono/mono/mini/ChangeLog
   trunk/mono/mono/mini/jit-icalls.c
   trunk/mono/mono/mini/jit-icalls.h
   trunk/mono/mono/mini/mini.c
Log:
2006-09-24  Zoltan Varga  <[EMAIL PROTECTED]>

        * jit-icalls.c (mono_helper_stelem_ref): Remove this unused helper 
function.

        * mini.c (mini_init): Remove reference to mono_helper_stelem_ref.


Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog      2006-09-24 16:29:31 UTC (rev 65865)
+++ trunk/mono/mono/mini/ChangeLog      2006-09-24 17:11:12 UTC (rev 65866)
@@ -1,3 +1,9 @@
+2006-09-24  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * jit-icalls.c (mono_helper_stelem_ref): Remove this unused helper 
function.
+
+       * mini.c (mini_init): Remove reference to mono_helper_stelem_ref.
+
 2006-09-22  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * mini-amd64.c (add_valuetype): Fix an uninitialized memory issue.

Modified: trunk/mono/mono/mini/jit-icalls.c
===================================================================
--- trunk/mono/mono/mini/jit-icalls.c   2006-09-24 16:29:31 UTC (rev 65865)
+++ trunk/mono/mono/mini/jit-icalls.c   2006-09-24 17:11:12 UTC (rev 65866)
@@ -54,20 +54,6 @@
 }
 
 void
-mono_helper_stelem_ref (MonoArray *array, int index, MonoObject *val)
-{
-       MONO_ARCH_SAVE_REGS;
-
-       if (index >= array->max_length)
-               mono_raise_exception (mono_get_exception_index_out_of_range ());
-
-       if (val && !mono_object_isinst (val, 
array->obj.vtable->klass->element_class))
-               mono_raise_exception (mono_get_exception_array_type_mismatch 
());
-
-       mono_array_set (array, gpointer, index, val);
-}
-
-void
 mono_helper_stelem_ref_check (MonoArray *array, MonoObject *val)
 {
        MONO_ARCH_SAVE_REGS;

Modified: trunk/mono/mono/mini/jit-icalls.h
===================================================================
--- trunk/mono/mono/mini/jit-icalls.h   2006-09-24 16:29:31 UTC (rev 65865)
+++ trunk/mono/mono/mini/jit-icalls.h   2006-09-24 17:11:12 UTC (rev 65866)
@@ -11,8 +11,6 @@
 
 void* mono_ldvirtfn (MonoObject *obj, MonoMethod *method);
 
-void mono_helper_stelem_ref (MonoArray *array, int index, MonoObject *val);
-
 void mono_helper_stelem_ref_check (MonoArray *array, MonoObject *val);
 
 gint64 mono_llmult (gint64 a, gint64 b);

Modified: trunk/mono/mono/mini/mini.c
===================================================================
--- trunk/mono/mono/mini/mini.c 2006-09-24 16:29:31 UTC (rev 65865)
+++ trunk/mono/mono/mini/mini.c 2006-09-24 17:11:12 UTC (rev 65866)
@@ -11222,7 +11222,6 @@
        register_icall (mono_ldtoken_wrapper, "mono_ldtoken_wrapper", "ptr ptr 
ptr ptr", FALSE);
        register_icall (mono_get_special_static_data, 
"mono_get_special_static_data", "ptr int", FALSE);
        register_icall (mono_ldstr, "mono_ldstr", "object ptr ptr int32", 
FALSE);
-       register_icall (mono_helper_stelem_ref, "helper_stelem_ref", "void ptr 
int32 object", FALSE);
        register_icall (mono_helper_stelem_ref_check, 
"helper_stelem_ref_check", "void object object", FALSE);
        register_icall (mono_object_new, "mono_object_new", "object ptr ptr", 
FALSE);
        register_icall (mono_object_new_specific, "mono_object_new_specific", 
"object ptr", FALSE);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to