longjmp: optimize forcing the return value to be non-zero
This commit is contained in:
parent
6275b3e73b
commit
471d6ea820
|
@ -15,9 +15,8 @@ _longjmp:
|
|||
|
||||
! check the returned value validity
|
||||
tst r5, r5
|
||||
bf/s int_block
|
||||
mov r5, r9
|
||||
mov #1, r9
|
||||
movt r9
|
||||
add r5, r9
|
||||
|
||||
! block interrupt
|
||||
int_block:
|
||||
|
|
Loading…
Reference in New Issue