mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 10:48:12 +02:00
Do not add 8 to NIL values of get_caller_addr
git-svn-id: trunk@22370 -
This commit is contained in:
parent
a1da9b7710
commit
66b9617ba7
@ -87,7 +87,11 @@ function get_caller_addr(framebp:pointer;addr:pointer=nil):pointer;assembler;nos
|
||||
{ flush register windows, so they are stored in the stack }
|
||||
ta 3
|
||||
ld [%o0+60],%o0
|
||||
{ add 8 to skip jmpl and delay slot }
|
||||
{ check if new %o0 register is zero }
|
||||
subcc %o0,0,%o0
|
||||
be .Lframezero
|
||||
nop
|
||||
{ if not zero, add 8 to skip jmpl and delay slot }
|
||||
add %o0,8,%o0
|
||||
.Lframezero:
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user