~ubuntu-branches/ubuntu/lucid/mono/lucid

« back to all changes in this revision

Viewing changes to mono/mini/aot-runtime.c

  • Committer: Bazaar Package Importer
  • Author(s): Mirco Bauer
  • Date: 2009-07-30 19:35:10 UTC
  • mto: (5.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20090730193510-cdttfvqokq2kmdvh
Tags: upstream-2.4.2.3+dfsg
ImportĀ upstreamĀ versionĀ 2.4.2.3+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
434
434
decode_method_ref (MonoAotModule *module, guint32 *token, MonoMethod **method, gboolean *no_aot_trampoline, guint8 *buf, guint8 **endbuf)
435
435
{
436
436
        guint32 image_index, value;
437
 
        MonoImage *image;
 
437
        MonoImage *image = NULL;
438
438
        guint8 *p = buf;
439
439
 
440
440
        if (method)
1267
1267
                        full_name = g_strdup_printf ("%s.%s", name_space, name);
1268
1268
                }
1269
1269
        }
1270
 
        hash = g_str_hash (full_name) % table_size;
 
1270
        hash = mono_aot_str_hash (full_name) % table_size;
1271
1271
        if (full_name != full_name_buf)
1272
1272
                g_free (full_name);
1273
1273
 
2082
2082
        }
2083
2083
 
2084
2084
        if (method->wrapper_type)
2085
 
                hash = g_str_hash (method->name) % table_size;
 
2085
                hash = mono_aot_str_hash (method->name) % table_size;
2086
2086
        else
2087
2087
                hash = 0 % table_size;
2088
2088