[Mono-dev] [PATCH] Winx64 stack cleanup for calls
Bill Holmes
billholmes54 at gmail.com
Mon Jul 7 15:22:59 EDT 2008
Zoltan,
Agreed. I have attached an update.
-bill
On Mon, Jul 7, 2008 at 3:03 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> Hi,
>
> It might be easier to define IS_STDCALL as FALSE on windows, since
> afaik there is
> no stdcall calling convention on winx64.
>
> Zoltan
>
> 2008/7/7 Bill Holmes <billholmes54 at gmail.com>:
>> Hello All,
>>
>> Attached (cleanStack_08_07_07.diff) is a small patch that should be
>> specific to Winx64 only that will cleanup the stack after each call
>> emitted from mono_arch_output_basic_block. The calling convention on
>> Winx64 requires that the caller always cleans the stack. (At least as
>> far as I am aware.)
>>
>> Also I have some tests (unitTests_404729.diff ) that tests bug #404729
>> on Winx64.
>>
>> -bill
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanStack_08_07_07.diff
Type: application/octet-stream
Size: 1236 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080707/c767d151/attachment.obj
More information about the Mono-devel-list
mailing list