fpc/compiler/jvm
Jonas Maebe 37aa2d8443 + full support for sets on the JVM target
o sets of enums are handled as JUEnumSet instances, others as JUBitSet
     derivatives (both smallsets and varsets, to make interoperability with
     Java easier)
   o special handling of set constants: these have to be constructed at run
     time. In case of constants in the code, create an internal constsym to
     represent them. These and regular constsyms are then aliased by an
     another internal staticvarsym that is used to initialise them in the
     unit initialisation code.
   o until they are constructed at run time, set constants are encoded as
     constant Java strings (with the characters containing the set bits)
   o hlcgobj conversion of tcginnode.pass_generate_code() for the genjumps
     part (that's the only part of the generic code that's used by the JVM
     target)
   o as far as explicit typecasting support is concerned, currently the
     following ones are supported (both from/to setdefs): ordinal types,
     enums, any other set types (whose size is the same on native targets)
   o enum setdefs also emit signatures
   o overloading routines for different ordinal set types, or for different
     enum set types, is not supported on the JVM target

git-svn-id: branches/jvmbackend@18662 -
2011-08-20 08:22:22 +00:00
..
aasmcpu.pas + support for (formal/untyped) constants (ordinal, floating point, 2011-08-20 07:55:41 +00:00
cgcpu.pas * removed unused local variables 2011-08-20 07:54:37 +00:00
cpubase.pas + cpubase for jvm: opcodes, basic register definitions, ... 2011-08-20 07:35:32 +00:00
cpuinfo.pas * fixed compilation 2011-08-20 07:36:22 +00:00
cpunode.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
cpupara.pas + support for non-array/record var parameter on the JVM target using 2011-08-20 08:07:24 +00:00
cpupi.pas + tjvmprocinfo, only overrides set_first_temp_offset() and sets it to 2011-08-20 07:37:20 +00:00
cputarg.pas + support for JVM local variable and parameter debug information 2011-08-20 07:50:41 +00:00
dbgjasm.pas + support for emiting "signature" attributes for fields and methods; these 2011-08-20 08:08:00 +00:00
hlcgcpu.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
itcpujas.pas + jvm (cpu architecure) and java ("OS"/target) identifiers 2011-08-20 07:37:33 +00:00
jvmreg.dat + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
njvmadd.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmcal.pas * free temp location allocated for function result if not used 2011-08-20 08:10:05 +00:00
njvmcnv.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmcon.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmflw.pas * converted all enum handling for the JVM target so that it uses the 2011-08-20 08:15:54 +00:00
njvminl.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmld.pas * when internally taking the address of shortstrings to typecast 2011-08-20 08:15:59 +00:00
njvmmat.pas + support for qword div/mod via helper (the JVM only supports signed 2011-08-20 08:07:02 +00:00
njvmmem.pas * fixed dereferencing pointers to JVM implicit pointer types in case the 2011-08-20 08:22:05 +00:00
njvmset.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmtcon.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00
njvmutil.pas * always return true from tjvmnodeutils.force_init(), because when this 2011-08-20 08:21:01 +00:00
rgcpu.pas * fixed memory leak 2011-08-20 08:13:36 +00:00
rjvmcon.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmnor.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmnum.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmrni.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmsri.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmstd.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
rjvmsup.inc + (mostly fake) register definitions for the JVM 2011-08-20 07:35:17 +00:00
tgcpu.pas + full support for sets on the JVM target 2011-08-20 08:22:22 +00:00