mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 18:43:30 +00:00
[CRT] Reduce diff to wine-5.0
This commit is contained in:
parent
e04b796534
commit
c332b917dc
5 changed files with 30 additions and 30 deletions
|
@ -652,25 +652,6 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame
|
|||
*/
|
||||
extern DWORD CDECL __CxxFrameHandler( PEXCEPTION_RECORD rec, EXCEPTION_REGISTRATION_RECORD* frame,
|
||||
PCONTEXT context, EXCEPTION_REGISTRATION_RECORD** dispatch );
|
||||
#ifdef _MSC_VER
|
||||
DWORD _declspec(naked) __CxxFrameHandler(PEXCEPTION_RECORD rec, EXCEPTION_REGISTRATION_RECORD* frame,
|
||||
PCONTEXT context, EXCEPTION_REGISTRATION_RECORD** dispatch)
|
||||
{
|
||||
__asm
|
||||
{
|
||||
push 0
|
||||
push 0
|
||||
push eax
|
||||
push[esp + 28]
|
||||
push[esp + 28]
|
||||
push[esp + 28]
|
||||
push[esp + 28]
|
||||
call cxx_frame_handler
|
||||
add esp, 28
|
||||
ret
|
||||
}
|
||||
}
|
||||
#else
|
||||
__ASM_GLOBAL_FUNC( __CxxFrameHandler,
|
||||
"pushl $0\n\t" /* nested_trylevel */
|
||||
__ASM_CFI(".cfi_adjust_cfa_offset 4\n\t")
|
||||
|
@ -690,7 +671,6 @@ __ASM_GLOBAL_FUNC( __CxxFrameHandler,
|
|||
"add $28,%esp\n\t"
|
||||
__ASM_CFI(".cfi_adjust_cfa_offset -28\n\t")
|
||||
"ret" )
|
||||
#endif
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue