florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 gadi atpakaļ |
Jonas Maebe
|
9b1a36fcdb
* don't call buildderef for the local symtable of procdefs unless we will
|
11 gadi atpakaļ |
Jonas Maebe
|
c1cec52897
* fixed alignment of bitpacked arrays of ordinals/enums: the prevous code
|
11 gadi atpakaļ |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
12 gadi atpakaļ |
svenbarth
|
76f6de5cf1
Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again.
|
12 gadi atpakaļ |
svenbarth
|
bb00c76fe7
Fix for Mantis #21015 .
|
12 gadi atpakaļ |
paul
|
c22c364f43
compiler: regenerate parameter list in tprocvardef.getcopy (fixes compiler crash, issue #0025077)
|
12 gadi atpakaļ |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
12 gadi atpakaļ |
paul
|
5aa919c2a8
compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477)
|
12 gadi atpakaļ |
Jonas Maebe
|
de56f909d5
* synchronized with trunk up to and including r25430
|
12 gadi atpakaļ |
Jonas Maebe
|
fcaad5baf2
* perform -CTlowercaseprocstart conversion it tprocsym.create rather than
|
12 gadi atpakaļ |
Jonas Maebe
|
6013606a97
+ -CTlowercaseprocstart switch to lowercase the first character of routines
|
12 gadi atpakaļ |
paul
|
17ef986b17
compiler: don't treat methods without self node (static class methods, class contructors, destructors, operators) as method pointers, fix comparison of procdef and procvardef to allow assignment of a static class method to a regular procedural variable (issue #24486)
|
12 gadi atpakaļ |
Jonas Maebe
|
8d1090269e
* synchronised with trunk r25259
|
12 gadi atpakaļ |
florian
|
3d90ac82f8
* disable regable 4 bytes records on 16 bit alu targets, to enable them, location handling should be rewritten else gen_load_cgpara_loc gets even more messy
|
12 gadi atpakaļ |
nickysn
|
259bb5421e
* tobjectdef.vmtmethodoffset updated to take into account the current i8086 memory model code pointer size
|
12 gadi atpakaļ |
svenbarth
|
53ea24a0b1
Correctly specialize generics if locally declared types are used (e.g. two procedures could both define a different "TRec" type which is used to specialize a generic inside the procedures).
|
12 gadi atpakaļ |
Jonas Maebe
|
29132f45b7
* synchronised with trunk up to r25167 (fixes glib compilation via r25164,
|
12 gadi atpakaļ |
Jonas Maebe
|
1a560e9875
* when concatenating ansistrings, do not map CP_NONE (rawbytestring) to
|
12 gadi atpakaļ |
sergei
|
8b1463aedc
* tprocdef.customprocname: fixed bug introduced in r21069 that was causing result to always contain 'procedure' or 'function' word. These should be included only if pno_proctypeoption flag is given. Resolves #24640.
|
12 gadi atpakaļ |
Jonas Maebe
|
7659bfc01b
- removed internal error if savesize of tfiledef is 0 when writing the def
|
12 gadi atpakaļ |
Jonas Maebe
|
5a72bc3656
* export filerec/textrec from the system unit and use them in the compiler
|
12 gadi atpakaļ |
florian
|
541d67771b
* keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code,
|
12 gadi atpakaļ |
nickysn
|
2809ed6fb9
* updated tfiledef.setsize to support the size of textrec in the medium memory model
|
12 gadi atpakaļ |
nickysn
|
b5c032874f
* set the po_far flag by default in far code memory models
|
12 gadi atpakaļ |
nickysn
|
b6c979e55f
+ added tabstractprocdef.address_size which returns the actual address size of the proc, taking into account far procs
|
12 gadi atpakaļ |
nickysn
|
c1984bdf56
* take into account far code and far data in tprocvardef.size
|
12 gadi atpakaļ |
nickysn
|
5966cc088d
* got rid of tpointerdef.update_savesize, overrode size instead
|
12 gadi atpakaļ |
nickysn
|
5b503f42c7
+ implemented Mem/MemW/MemL[] for i8086
|
12 gadi atpakaļ |
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 gadi atpakaļ |