mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[PSEH2]
- Emulate a return from _SEH2EnterHandleTrylevel/_SEH2EnterFrameAndHandleTrylevel rather than directly jumping to the handler in case of an exception. This prevents us from invalidating compiler assumptions. Thanks to Timo. Should fix GCC 4.7 bug with PSEH2 (CORE-7240). svn path=/trunk/; revision=59120
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
.globl __SEH2EnterHandleTrylevel
|
||||
__SEH2EnterHandleTrylevel:
|
||||
mov eax, [esp+8]
|
||||
mov ecx, [esp+12]
|
||||
mov ecx, [esp]
|
||||
mov [eax+8], ecx
|
||||
mov [eax+16], ebp
|
||||
mov [eax+20], ebx
|
||||
@@ -43,7 +43,7 @@ __SEH2EnterHandleTrylevel:
|
||||
.globl __SEH2EnterFrameAndHandleTrylevel
|
||||
__SEH2EnterFrameAndHandleTrylevel:
|
||||
mov eax, [esp+8]
|
||||
mov ecx, [esp+12]
|
||||
mov ecx, [esp]
|
||||
mov [eax+8], ecx
|
||||
mov [eax+16], ebp
|
||||
mov [eax+20], ebx
|
||||
|
||||
Reference in New Issue
Block a user