diff --git a/compiler/pjvm.pas b/compiler/pjvm.pas index a7bef2c617..43795d7d86 100644 --- a/compiler/pjvm.pas +++ b/compiler/pjvm.pas @@ -212,27 +212,4 @@ implementation end; end; -{****************************************************************** - jvm type validity checking -*******************************************************************} - - function jvmencodetype(def: tdef): string; - var - errordef: tdef; - begin - if not jvmtryencodetype(def,result,errordef) then - internalerror(2011012305); - end; - - - function jvmchecktype(def: tdef; out founderror: tdef): boolean; - var - encodedtype: string; - begin - { don't duplicate the code like in objcdef, since the resulting strings - are much shorter here so it's not worth it } - result:=jvmtryencodetype(def,encodedtype,founderror); - end; - - end.