- 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:
Thomas Faber
2013-05-30 21:53:06 +00:00
parent 78a214f52d
commit f166056c07
@@ -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