* mini-amd64.c (mono_arch_emit_prolog): Disable the new optimization if
profiling is enabled.
svn path=/trunk/mono/; revision=93274
2008-01-18 Zoltan Varga <vargaz@gmail.com>
+ * mini-amd64.c (mono_arch_emit_prolog): Disable the new optimization if
+ profiling is enabled.
+
* mini-amd64.c (mono_arch_call_opcode): Emit the save_sp_to_lmf instruction at
the end.
(mono_arch_emit_prolog): Add more first bblock optimizations.
code = mono_arch_instrument_prolog (cfg, mono_trace_enter_method, code, TRUE);
}
+ if (cfg->prof_options & MONO_PROFILE_ENTER_LEAVE)
+ args_clobbered = TRUE;
+
/*
* Optimize the common case of the first bblock making a call with the same
* arguments as the method. This works because the arguments are still in their