Explorar o código

* exit once we've found a target-specific handler for a type
conversion node so later checks won't try to further convert it

git-svn-id: branches/jvmbackend@18497 -

Jonas Maebe %!s(int64=14) %!d(string=hai) anos
pai
achega
4491dafd48
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/jvm/njvmcnv.pas

+ 1 - 0
compiler/jvm/njvmcnv.pas

@@ -548,6 +548,7 @@ implementation
             convtype:=tc_equal;
             res:=target_specific_explicit_typeconv;
             result:=true;
+            exit;
           end;
       end;