++td.ip;
break;
case CEE_UNALIGNED_:
- ++td.ip;
- /* FIX: should do something? */;
+ td.ip += 2;
break;
case CEE_VOLATILE_:
++td.ip;
header = mono_method_get_header (nm);
mono_os_mutex_unlock(&calc_section);
} else if (method->klass == mono_defaults.array_class) {
- if (!strcmp (method->name, "UnsafeMov")) {
+ if (!strcmp (method->name, "UnsafeMov") || !strcmp (method->name, "UnsafeLoad")) {
mono_os_mutex_lock (&calc_section);
if (!runtime_method->transformed) {
runtime_method->code = g_malloc (sizeof (short));
mono_os_mutex_unlock(&calc_section);
mono_profiler_method_end_jit (method, NULL, MONO_PROFILE_OK);
return NULL;
- } else if (!strcmp (method->name, "UnsafeStore)")) {
- g_error ("TODO");
- } else if (!strcmp (method->name, "UnsafeLoad)")) {
+ } else if (!strcmp (method->name, "UnsafeStore")) {
g_error ("TODO");
}
}