From: Scott Wood Date: Thu, 19 Apr 2007 01:57:41 +0000 (-0500) Subject: Always use eax/edx; this makes throwing an exception during method X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=commitdiff_plain;h=6e64b28821757af60447c790ae52a91831a9d4f0;hp=65882ba5c51e36bb639a41e0be5b1d4822a3995f Always use eax/edx; this makes throwing an exception during method dispatch easier. --- diff --git a/doc/abi/x86 b/doc/abi/x86 index b237c2e..fd0c51a 100644 --- a/doc/abi/x86 +++ b/doc/abi/x86 @@ -14,8 +14,8 @@ Out-of-Process Method Invocation: that covers the calling address. If none is found, it will assume that it is a language without exception handling, and return the exception to the caller in eax. - ecx: length of exception segment, if any - edx: may be clobbered + edx: length of exception segment, if any + ecx: may be clobbered Callee: eax: pointer to PIB @@ -26,6 +26,6 @@ Out-of-Process Method Invocation: Upon return: eax: pointer to exception, or NULL if none. - ecx: length of exception segment, if any + edx: length of exception segment, if any ebx, esi, edi, ebp, esp: should be preserved - edx: may be clobbered + ecx: may be clobbered