* mini.c (mono_jit_runtime_invoke): Initialize *exc to NULL before calling the wrapper,
so it doesn't have to do it.
svn path=/trunk/mono/; revision=158569
2010-06-06 Zoltan Varga <vargaz@gmail.com>
+ * mini.c (mono_jit_runtime_invoke): Initialize *exc to NULL before calling the wrapper,
+ so it doesn't have to do it.
+
* helpers.c (mono_disassemble_code): Flush stdout, so the output from the spawned
process does not mix with ours.
mono_runtime_class_init (info->vtable);
}
+ /* The wrappers expect this to be initialized to NULL */
+ if (exc)
+ *exc = NULL;
+
#ifdef MONO_ARCH_DYN_CALL_SUPPORTED
if (info->dyn_call_info) {
MonoMethodSignature *sig = mono_method_signature (method);