[fpc-pascal] Re: jvmbackend merge

leledumbo leledumbo_cool at yahoo.co.id
Sun Jun 3 17:48:16 CEST 2012


I tried building the compiler, it passes but I have to do some changes. The
make process fails after compiling the compiler ended with some warnings
regarding constructing a class with abstract method in
compiler/jvm/hlcgcpu.pas. The compiler seems to return exit code 1 on
warnings and that's the cause of the failure. For the workaround, I've added
these methods (with empty body implementation) to thlcgjvm class:

procedure a_bit_scan_reg_reg(list: TAsmList; reverse: boolean; size: tdef;
src, dst: tregister); override;
      procedure a_loadmm_loc_reg(list: TAsmList; fromsize, tosize: tcgsize;
const loc: tlocation; const reg: tregister;shuffle : pmmshuffle);override;
      procedure g_copyvariant(list : TAsmList;const source,dest :
treference;vardef:tvariantdef);override;
      procedure g_overflowcheck(list: TAsmList; const Loc:tlocation;
def:tdef); override;
      procedure g_overflowCheck_loc(List:TAsmList;const
Loc:TLocation;def:TDef;var ovloc : tlocation);override;
      procedure g_stackpointer_alloc(list : TAsmList;size : longint);
override;
      procedure g_intf_wrapper(list: TAsmList; procdef: tprocdef; const
labelname: string; ioffset: longint);override;
      procedure g_adjust_self_value(list:TAsmList;procdef: tprocdef;ioffset:
aint);override;
      procedure g_local_unwind(list: TAsmList; l: TAsmLabel);override;


--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/jvmbackend-merge-tp5709941p5709947.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list