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).
|
před 12 roky |
florian
|
fef7832790
* enable absolute for i8086-msdos
|
před 12 roky |
florian
|
c781f21a46
* records with two times the size of a register can be kept in registers
|
před 12 roky |
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...
|
před 12 roky |
Jonas Maebe
|
5929ec5592
* turned getpropaccesslist, add_parameters and add_index_parameter into
|
před 13 roky |
pierre
|
fcaff0489c
* psub.pas : translate tregister for registerhi also
|
před 13 roky |
Jonas Maebe
|
289486346b
* factored out code to decide when an asmsym for a staticvarsym has to be
|
před 13 roky |
Jonas Maebe
|
ebda98deec
* give (w)string tconstsyms a def, so all constsyms always have a def
|
před 13 roky |
florian
|
31b1678757
* write parameter refs to ppu (only 1=used; 0=unsed), fixes parameter usage checking of inlined procedures loaded from units
|
před 13 roky |
Jonas Maebe
|
fb73001389
* don't give an internalerror when setting the mangledbasename in case the
|
před 13 roky |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
před 13 roky |
Jonas Maebe
|
bacdd8be81
* don't ever mark the function result as vs_initialised, also not when
|
před 13 roky |
Jonas Maebe
|
74e721517d
* keep track of the type of symbolic floating point constants rather
|
před 13 roky |
florian
|
20b1e3af78
Merging of generics branch of Sven Barth
|
před 14 roky |
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.
|
před 14 roky |
svenbarth
|
9f44f36348
Removed another leftover from my overloaded symbol approach. Thanks to Florian for pointing it out.
|
před 14 roky |
Jonas Maebe
|
f62e118f8e
* when looking for a procdef matching a procvardef in an objectdef,
|
před 14 roky |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
před 14 roky |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
před 14 roky |
paul
|
a1e0b833b2
compiler: fix ppu read/write of property parameters symtable (bug #0020454)
|
před 14 roky |
paul
|
62b4ef3d1a
compiler: don't create a parasymtable for property if property has no parameters
|
před 14 roky |
Jonas Maebe
|
d8b008b0b0
* require that "overload" is present in the interface if it's used in the
|
před 14 roky |
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)
|
před 14 roky |
Jonas Maebe
|
cf47b8d422
* fixed all known memory leaks in the code added for the JVM port
|
před 14 roky |
paul
|
de21de2024
compiler: implement delphi like namespaces
|
před 14 roky |
Jonas Maebe
|
7010116096
* if a mangledbasename is set for staticvarsyms, also use if when emitting
|
před 14 roky |
Jonas Maebe
|
76de70e683
* since enums are represented by classes in the JVM, initialize global
|
před 14 roky |
Jonas Maebe
|
3791f0de1c
* fixed mangled name of JVM class vars with an external name in case their
|
před 14 roky |
Jonas Maebe
|
9bdcb1d7e5
* also write the stativarsym section information when symansistr is defined
|
před 14 roky |
Jonas Maebe
|
1c74072748
* moved handle_staticfield_access() from pexpr to nutils so it can
|
před 14 roky |