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 години |