Browse Source

* 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 14 years ago
parent
commit
4491dafd48
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/jvm/njvmcnv.pas

+ 1 - 0
compiler/jvm/njvmcnv.pas

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