svenbarth
|
af7532fd67
Fix startup problem in Lazarus if compiled with ARC-branch compiler.
|
пре 11 година |
svenbarth
|
b3be4d9992
Fix usage of refcounted types from another unit.
|
пре 11 година |
svenbarth
|
2c39beaecd
Fix initialization/finalization of good old objects that have a parent
|
пре 11 година |
svenbarth
|
83375bf566
Fix usage of good old objects with VMT.
|
пре 11 година |
svenbarth
|
70e2785dbd
Ensure that legacy code does not unnecessarily interfere with ARC.
|
пре 11 година |
svenbarth
|
c599464608
Fix compilation of PPUDump.
|
пре 11 година |
svenbarth
|
745c981b5d
Avoid access to a non existing field during cycling (just in case).
|
пре 11 година |
svenbarth
|
8c6d22bf18
Fix cycling.
|
пре 11 година |
svenbarth
|
9868b82f64
Rename ARC related methods of TObject so that they conflict less with existing methods/fields (in this case the "refcount" field of TSymtable in the compiler)
|
пре 11 година |
svenbarth
|
c085b1bdcf
Fix compilation with 2.6.x series.
|
пре 11 година |
svenbarth
|
a55ac22d32
Fix compilation with 2.6.x.
|
пре 11 година |
svenbarth
|
6225112e52
Fix compilation with 2.6.x.
|
пре 11 година |
svenbarth
|
3c800c5563
Various checks for "weak" variables/parameters/fields.
|
пре 11 година |
svenbarth
|
59198b8503
Avoid an internal error for accessing fields of a reference counted class.
|
пре 11 година |
svenbarth
|
b8af1f912a
Don't return class instances in parameters even if they are reference counted (might lead to potential problems, but otherwise some of the compiler's expectations regarding class instances fail).
|
пре 11 година |
svenbarth
|
8b7f561408
Revert unintended commit.
|
пре 11 година |
svenbarth
|
0c9cca0a20
Correctly handle reference counted classes inside their constructors.
|
пре 11 година |
svenbarth
|
80faa51a90
Don't try to load the RTTI for reference counted classes.
|
пре 11 година |
svenbarth
|
3a0fca6380
Reference counted classes are considered as needing an init table.
|
пре 11 година |
svenbarth
|
8721896d92
Initialize reference counted class variables (or out parameters) with Nil.
|
пре 11 година |
svenbarth
|
41269d6072
Call the RTL helpers for reference counted classes.
|
пре 11 година |
svenbarth
|
e358ac5482
Handle initialization/finalization and copying of records.
|
пре 11 година |
svenbarth
|
2a4e3a5c3b
Add support for manual reference counting of reference counted class instances.
|
пре 11 година |
svenbarth
|
7e9484ad0a
Add RTL Helpers for increasing and decreasing reference count as well as assigning reference counted class instances to one another.
|
пре 11 година |
svenbarth
|
eef2c1652f
Add the offset to the reference count field relative to Self to the VMT (which works better than adding it to the RTTI).
|
пре 11 година |
svenbarth
|
878483ad50
Add possibility to query the hidden field of a class that represents the reference count
|
пре 11 година |
svenbarth
|
4b6216ddd7
"Self" variable is considered as "weak".
|
пре 11 година |
svenbarth
|
d71f6a6ac3
Correctly denote the Result symbol as "weak" if it was parsed as such.
|
пре 11 година |
svenbarth
|
586c54dad2
Add support for parsing "refcounted" in classes.
|
пре 11 година |
svenbarth
|
1671645bc0
Add support for parsing "weak" directive for variables, fields and parameters.
|
пре 11 година |