瀏覽代碼

* 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 年之前
父節點
當前提交
4491dafd48
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;