svenbarth
|
80c2e3b51a
* special detection of an ongoing specialization for the case that a function that belongs to a generic and has said generic as parameter or result is in turn specialized as a parameter or result of another generic function
|
преди 9 години |
svenbarth
|
6a14bb5014
* check the owner of current_specializedef as that is Nil if a generic routine is specialized and this is the specialization of one of its parameters or its result type
|
преди 9 години |
pierre
|
22a7ce8972
Fix memory leak due to double srsym allocation
|
преди 9 години |
Jonas Maebe
|
95f28e5e0c
* avoid a crash when processing synthetic methods of specialised classes:
|
преди 9 години |
svenbarth
|
6c3dd6b601
Another system, another regression... (this time tests/test/tgenfunc15.pp on i386-win32)
|
преди 9 години |
svenbarth
|
fd98ec56e9
Fix (hopefully last) regression introduced due to the reworking specialization of routine bodies.
|
преди 9 години |
florian
|
04a68d9b94
* fix compilation with -Oodfa
|
преди 9 години |
svenbarth
|
1bd43d9e37
Fix regressions.
|
преди 9 години |
svenbarth
|
1d7c19aaf0
Fix regressions.
|
преди 9 години |
svenbarth
|
f27ce0b159
Rework the way the method bodies for specializations are generated: instead of walking the global and local symboltable all pending specializations are kept in a list of the current module which is (for now) walked at the end of a unit/program to generate the method bodies as before.
|
преди 9 години |
svenbarth
|
2f6a1c01ba
pgenutil.pas, generate_specialization_phase2:
|
преди 9 години |
svenbarth
|
f8def6dbc9
Store and use procedure directives of generic routines.
|
преди 9 години |
svenbarth
|
d07b49270f
Fix for Mantis #30030.
|
преди 9 години |
svenbarth
|
e9fab1bfee
Fix for Mantis #29080.
|
преди 9 години |
svenbarth
|
0ff87336aa
Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls.
|
преди 9 години |
Jonas Maebe
|
2cea723a0d
* only write the parts of the unit localsymtables that are actually needed:
|
преди 9 години |
svenbarth
|
96a9273fba
pdecsub.pas:
|
преди 10 години |
svenbarth
|
35d8a51730
pexpr.pas:
|
преди 10 години |
svenbarth
|
2e24d6dffb
htypechk.pas:
|
преди 10 години |
svenbarth
|
e8c68a09c1
pgenutil.pas, parse_generic_parameters:
|
преди 10 години |
svenbarth
|
040786e5bb
+ extend tundefineddef with the possiblity to create it as unregistered
|
преди 10 години |
svenbarth
|
4b98b36212
pgenutil.pas:
|
преди 10 години |
yury
|
d27964bd1a
* Removed unused chunk of code. Looks like a not needed leftover.
|
преди 10 години |
yury
|
432248cbf1
* Removed lot of unused vars.
|
преди 10 години |
svenbarth
|
00f776ef76
pgenutil.pas, parse_generic_specialization_types_internal:
|
преди 10 години |
svenbarth
|
84b9d9839c
+ extend tobjectdef with the possiblity to create it as unregistered
|
преди 10 години |
svenbarth
|
d45c275ef3
+ extend ttypesym with the possiblity to create it as unregistered
|
преди 10 години |
florian
|
83a7fa2320
o fix compilation of the compiler
|
преди 10 години |
svenbarth
|
eaab604f0c
pgenutil.pas:
|
преди 10 години |
svenbarth
|
e8fca1c9c0
* move tspecializationstate from pgenutil.pas into a new unit named pgentype.pas which contains types related to generics with as few dependencies as possible.
|
преди 10 години |