+2003-09-25 Zoltan Varga <vargaz@freemail.hu>
+
+ * interp.c (ves_exec_method): Fix warning.
+ (ves_exec_method_with_context): Fix CGT_UN and CLT_UN. Patch by
+ David Waite (mass@akuma.org).
+
2003-9-24 Bernie Solomon <bernard@ugsolutions.com>
* interp.c: I broke calling native delegates reinstate
else if (sp->type == VAL_I64)
result = (guint64)sp [0].data.l > (guint64)sp [1].data.l;
else if (sp->type == VAL_DOUBLE)
- result = isnan (sp [0].data.f) || isnan (sp [1].data.f);
+ result = isnan (sp [0].data.f) || isnan (sp [1].data.f) ||
+ sp[0].data.f > sp[1].data.f;
else
result = (mono_u)sp [0].data.nati > (mono_u)GET_NATI (sp [1]);
sp->type = VAL_I32;
else if (sp->type == VAL_I64)
result = (guint64)sp [0].data.l < (guint64)sp [1].data.l;
else if (sp->type == VAL_DOUBLE)
- result = isnan (sp [0].data.f) || isnan (sp [1].data.f);
+ result = isnan (sp [0].data.f) || isnan (sp [1].data.f) ||
+ sp[0].data.f < sp[1].data.f;
else
result = (mono_u)sp [0].data.nati < (mono_u)GET_NATI (sp [1]);
sp->type = VAL_I32;
longjmp (*context->current_env, 1);
}
else
- mono_unhandled_exception (frame->ex);
+ mono_unhandled_exception ((MonoObject*)frame->ex);
}
if (context->base_frame == frame)
TlsSetValue (thread_context_id, NULL);