Explorar o código

* optimizing length(<dyn. type>)=0 is not possible for jvm

git-svn-id: trunk@43280 -
florian %!s(int64=5) %!d(string=hai) anos
pai
achega
ee3258c0da
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      compiler/nadd.pas

+ 4 - 1
compiler/nadd.pas

@@ -1203,8 +1203,11 @@ implementation
                         ;
                     end;
                   end
+{$ifndef jvm}
                 else if (nodetype=equaln) and MatchAndTransformNodesCommutative(left,right,@IsLengthZero,@TransformLengthZero,Result) then
-                   exit;
+                   exit
+{$endif jvm}
+                   ;
               end;
 
             { using sqr(x) for reals instead of x*x might reduces register pressure and/or