[Mono-dev] Win64 Stack Arguments Patch

Jonathan Chambers joncham at gmail.com
Wed Apr 23 08:15:52 EDT 2008


Hello,
     This patch attempts to fix arguments passed on the stack for Winx64.
Please let me know if the approach is acceptable, or if there is a better
way.

The next roadblack has to do with arrays. I am getting a type load exception
when initializing the System.String class because it tries to initialize a
static array in the class (WhiteChars I believe), and the call to
ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray
fails because the

if (!(field_handle->type->attrs & FIELD_ATTRIBUTE_HAS_FIELD_RVA)) {

check fails. Any thoughts on the cause of this would be appreciated.

Code contributed under MIT/X11 license.

Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080423/563aeac4/attachment.html 


More information about the Mono-devel-list mailing list