svenbarth
|
956b26bc97
Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs).
|
12 роки тому |
florian
|
fef7832790
* enable absolute for i8086-msdos
|
12 роки тому |
florian
|
c781f21a46
* records with two times the size of a register can be kept in registers
|
12 роки тому |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
12 роки тому |
Jonas Maebe
|
5929ec5592
* turned getpropaccesslist, add_parameters and add_index_parameter into
|
13 роки тому |
pierre
|
fcaff0489c
* psub.pas : translate tregister for registerhi also
|
13 роки тому |
Jonas Maebe
|
289486346b
* factored out code to decide when an asmsym for a staticvarsym has to be
|
13 роки тому |
Jonas Maebe
|
ebda98deec
* give (w)string tconstsyms a def, so all constsyms always have a def
|
13 роки тому |
florian
|
31b1678757
* write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units
|
13 роки тому |
Jonas Maebe
|
fb73001389
* don't give an internalerror when setting the mangledbasename in case the
|
13 роки тому |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 роки тому |
Jonas Maebe
|
bacdd8be81
* don't ever mark the function result as vs_initialised, also not when
|
13 роки тому |
Jonas Maebe
|
74e721517d
* keep track of the type of symbolic floating point constants rather
|
13 роки тому |
florian
|
20b1e3af78
Merging of generics branch of Sven Barth
|
14 роки тому |
sergei
|
270fc39432
* An open array/array of const parameter passed by value and requiring a local copy on heap (currently all targets except non-Darwin i386 ones) should not be placed into register and should force procedure to have an implicit finally block.
|
14 роки тому |
svenbarth
|
9f44f36348
Removed another leftover from my overloaded symbol approach. Thanks to Florian for pointing it out.
|
14 роки тому |
Jonas Maebe
|
f62e118f8e
* when looking for a procdef matching a procvardef in an objectdef,
|
14 роки тому |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
14 роки тому |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
14 роки тому |
paul
|
a1e0b833b2
compiler: fix ppu read/write of property parameters symtable (bug #0020454)
|
14 роки тому |
paul
|
62b4ef3d1a
compiler: don't create a parasymtable for property if property has no parameters
|
14 роки тому |
Jonas Maebe
|
d8b008b0b0
* require that "overload" is present in the interface if it's used in the
|
14 роки тому |
paul
|
ceb141523d
compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal)
|
14 роки тому |
Jonas Maebe
|
cf47b8d422
* fixed all known memory leaks in the code added for the JVM port
|
14 роки тому |
paul
|
de21de2024
compiler: implement delphi like namespaces
|
14 роки тому |
Jonas Maebe
|
7010116096
* if a mangledbasename is set for staticvarsyms, also use if when emitting
|
14 роки тому |
Jonas Maebe
|
76de70e683
* since enums are represented by classes in the JVM, initialize global
|
14 роки тому |
Jonas Maebe
|
3791f0de1c
* fixed mangled name of JVM class vars with an external name in case their
|
14 роки тому |
Jonas Maebe
|
9bdcb1d7e5
* also write the stativarsym section information when symansistr is defined
|
14 роки тому |
Jonas Maebe
|
1c74072748
* moved handle_staticfield_access() from pexpr to nutils so it can
|
14 роки тому |