paul
|
2155dadf5e
compiler: push to the stack not only nested hierarchy but also class hierarchy for each nested entry both in method declaration and for method body, also push child hierarchy while parsing object members because in other case parent types are invisible for descendants (fixes mantis #0018124, mantis #0018127 and more) + extended test
|
15 gadi atpakaļ |
paul
|
37179a6558
compiler: cleanup
|
15 gadi atpakaļ |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
15 gadi atpakaļ |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
15 gadi atpakaļ |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
15 gadi atpakaļ |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
15 gadi atpakaļ |
Jonas Maebe
|
f13f6627c4
* moved use_fixed_stack from cgutils to a method in paramgr so it can
|
15 gadi atpakaļ |
joost
|
65ab1e820b
* Safecall on linux/i386 now behaves like cdecl plus hidden exception support.
|
15 gadi atpakaļ |
florian
|
ad23569cf1
* renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto
|
15 gadi atpakaļ |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 gadi atpakaļ |
Jonas Maebe
|
5b0962b735
* fixed misplaced bracket in condition test that caused all blocks
|
15 gadi atpakaļ |
Jonas Maebe
|
c30279cdc8
* no longer create implicit fail-cleanup code for TP-style object
|
15 gadi atpakaļ |
Jonas Maebe
|
86d2316a76
* check for self<>nil again before calling afterconstruction, fixes
|
15 gadi atpakaļ |
Jonas Maebe
|
a07bb94fcb
* separate the finally block that dezals with cleaning up temps and the
|
15 gadi atpakaļ |
Jonas Maebe
|
0cef599317
* removed a number of unnecessary calls to
|
15 gadi atpakaļ |
Jonas Maebe
|
f5c52b25cd
* removed "and not is_class()" condition from is_managed_type(), because
|
15 gadi atpakaļ |
Jonas Maebe
|
f2e1819bae
* put the call to afterconstructor inside the implicit try/catch block
|
15 gadi atpakaļ |
paul
|
ceccce93f5
compiler: add class constructors, class destructors to the initfinal table as regular initialization/finalization sections (class constructors is still not striped away with the class)
|
15 gadi atpakaļ |
paul
|
24d8a7d833
compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented
|
15 gadi atpakaļ |
paul
|
fcaac0ebe1
compiler,rtl - safecall handling:
|
15 gadi atpakaļ |
paul
|
cf0a1b1af9
compiler: safecall exception handling:
|
15 gadi atpakaļ |
Jonas Maebe
|
e89d0bcee3
+ also print node tree after firstpass with -vp (patch by Adriaan van Os,
|
15 gadi atpakaļ |
paul
|
4b53a54b51
compiler: implement 'var' and 'class var' sections for classes + tests
|
15 gadi atpakaļ |
paul
|
3ed4c58502
compiler:
|
15 gadi atpakaļ |
florian
|
c1f3d8dcaa
* unified names of system_*/systems_* sets
|
15 gadi atpakaļ |
paul
|
bf45b463bc
compiler: fix no finalization calls for libraries caused by r14543
|
15 gadi atpakaļ |
paul
|
556afdca51
compiler: fix uninitialized result caused by r14543
|
15 gadi atpakaļ |
paul
|
f25c21c287
compiler: fix wrong typecast
|
15 gadi atpakaļ |
paul
|
8b27daae2c
compiler: don't generate code for empty initialization and finalization sections (with help of Florian) (issue #0013482)
|
15 gadi atpakaļ |
florian
|
9955e6b2bf
* dfa fixes by Sergei Gorelkin, resolve #15402
|
16 gadi atpakaļ |