From 6e64b28821757af60447c790ae52a91831a9d4f0 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Wed, 18 Apr 2007 20:57:41 -0500 Subject: [PATCH] Always use eax/edx; this makes throwing an exception during method dispatch easier. --- doc/abi/x86 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2