mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 08:09:52 +01:00
* ensure that the label points inside the range where the raise is located for psabieh
git-svn-id: branches/debug_eh@41384 -
This commit is contained in:
parent
b1cc02e417
commit
f66d7d431f
@ -2205,6 +2205,10 @@ implementation
|
||||
current_addr:=clabelnode.create(cnothingnode.create,clabelsym.create('$raiseaddr'));
|
||||
addstatement(statements,current_addr);
|
||||
right:=caddrnode.create(cloadnode.create(current_addr.labsym,current_addr.labsym.owner));
|
||||
|
||||
{ raise address off by one so we are for sure inside the action area for the raise }
|
||||
if tf_use_psabieh in target_info.flags then
|
||||
right:=caddnode.create_internal(addn,right,cordconstnode.create(1,sizesinttype,false));
|
||||
end;
|
||||
|
||||
raisenode:=ccallnode.createintern('fpc_raiseexception',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user