- Detect end of chain

- Correct copy/paste error
Fixes bug 1212

svn path=/trunk/; revision=20460
This commit is contained in:
Gé van Geldorp 2005-12-30 18:35:49 +00:00
parent ecf93b6c49
commit 73b306468b

View file

@ -99,8 +99,10 @@ __local_unwind2:
// If we have reached the end of the chain or we're asked to stop here
// by the caller then exit
movl ER_TRYLEVEL(%ebx), %eax
test %ebx, %ebx
je .lu2_done
movl ER_TRYLEVEL(%ebx), %eax
cmpl $-1, %eax
je .lu2_done
@ -288,7 +290,6 @@ __except_handler3:
// Perform local unwinding
.eh3_unwind:
movl $ExceptionContinueSearch, %eax
testl $EXCEPTION_TARGET_UNWIND, EREC_FLAGS(%eax)
jnz .eh3_return