Author: tfaber
Date: Fri Sep 19 14:35:56 2014
New Revision: 64195
URL:
http://svn.reactos.org/svn/reactos?rev=64195&view=rev
Log:
[OLEAUT32]
- Sync MSVC version of call_method with GCC version. Patch by Timo Kreuzer.
Modified:
trunk/reactos/dll/win32/oleaut32/msvc.S
Modified: trunk/reactos/dll/win32/oleaut32/msvc.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/msvc.S?…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/msvc.S [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/msvc.S [iso-8859-1] Fri Sep 19 14:35:56 2014
@@ -19,17 +19,21 @@
push esi
push edi
mov edx, dword ptr ds:[ebp + 12]
+ mov edi, esp
shl edx, 2
jz cm1
- sub esp, edx
- and esp, HEX(0FFFFFFF0)
+ sub edi, edx
+ and edi, HEX(0FFFFFFF0)
+ mov esp, edi
mov ecx, dword ptr ds:[ebp + 12]
mov esi, dword ptr ds:[ebp + 16]
- mov edi, esp
cld
rep movsd
cm1:
call dword ptr ds:[ebp + 8]
+ sub edi, esp
+ mov ecx,[ebp + 20]
+ mov [ecx], edi
lea esp, [ebp - 8]
pop edi
pop esi