mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:09:30 +02:00
* optimizing length(<dyn. type>)=0 is not possible for jvm
git-svn-id: trunk@43280 -
This commit is contained in:
parent
78fb35525f
commit
ee3258c0da
@ -1203,8 +1203,11 @@ implementation
|
|||||||
;
|
;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
{$ifndef jvm}
|
||||||
else if (nodetype=equaln) and MatchAndTransformNodesCommutative(left,right,@IsLengthZero,@TransformLengthZero,Result) then
|
else if (nodetype=equaln) and MatchAndTransformNodesCommutative(left,right,@IsLengthZero,@TransformLengthZero,Result) then
|
||||||
exit;
|
exit
|
||||||
|
{$endif jvm}
|
||||||
|
;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ using sqr(x) for reals instead of x*x might reduces register pressure and/or
|
{ using sqr(x) for reals instead of x*x might reduces register pressure and/or
|
||||||
|
Loading…
Reference in New Issue
Block a user