diff --git a/compiler/ncgmem.pas b/compiler/ncgmem.pas index 8a8c166c32..872b331641 100644 --- a/compiler/ncgmem.pas +++ b/compiler/ncgmem.pas @@ -200,14 +200,6 @@ implementation procedure tcgaddrnode.pass_generate_code; begin -{$ifdef jvm} -{$ifndef nounsupported} - location_reset(location,LOC_REGISTER,OS_ADDR); - location.register:=hlcg.getaddressregister(current_asmdata.CurrAsmList,java_jlobject); - hlcg.a_load_const_reg(current_asmdata.CurrAsmList,java_jlobject,0,location.register); - exit; -{$endif nounsupported} -{$endif jvm} secondpass(left); location_reset(location,LOC_REGISTER,OS_ADDR);