mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 17:06:14 +02:00
* fixed TAOptBase.SkipEntryExitMarker() not initialising out parameter in
all cases (patch by J. Gareth Moreton, mantis #36372) git-svn-id: trunk@43843 -
This commit is contained in:
parent
37327af58b
commit
ebd674d40e
@ -266,9 +266,9 @@ unit aoptbase;
|
||||
class function TAOptBase.SkipEntryExitMarker(current: tai; out next: tai): boolean;
|
||||
begin
|
||||
result:=true;
|
||||
next:=current;
|
||||
if current.typ<>ait_marker then
|
||||
exit;
|
||||
next:=current;
|
||||
while GetNextInstruction(next,next) do
|
||||
begin
|
||||
if (next.typ<>ait_marker) or not(tai_marker(next).Kind in [mark_Position,mark_BlockStart]) then
|
||||
|
Loading…
Reference in New Issue
Block a user