mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 18:09:20 +02:00
* Only perform the block flattening if "forinline" is true or under -O2 and above
This commit is contained in:
parent
63e8633262
commit
ac3425a14d
@ -785,7 +785,7 @@ implementation
|
|||||||
;
|
;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else
|
else if forinline or (cs_opt_level2 in current_settings.optimizerswitches) then
|
||||||
begin
|
begin
|
||||||
n := TStatementNode(left);
|
n := TStatementNode(left);
|
||||||
while Assigned(n) and Assigned(n.right) do
|
while Assigned(n) and Assigned(n.right) do
|
||||||
|
Loading…
Reference in New Issue
Block a user