Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
13 gadi atpakaļ |
sergei
|
13e513fdf7
* Pass NR_FUNCTION_RESULT_REG to FPC_SAFECALLCHECK in target-independent way.
|
13 gadi atpakaļ |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 gadi atpakaļ |
sergei
|
06192a8137
Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref.
|
13 gadi atpakaļ |
sergei
|
b1cbf30a94
* Managed types passed to out formal parameters must be completely cleaned (decrementing refcount is not enough) at caller side, because callee side doesn't know their actual type and cannot initialize them. Resolves #20962.
|
13 gadi atpakaļ |
sergei
|
3a579ced7b
* Fixed IE201103063 when <dynamic array of unmanaged type> is being passed to <out open array> parameter.
|
14 gadi atpakaļ |
pierre
|
b6de7f0d6b
* Suppress Comaprison might be always false if first_mm_imreg is zero
|
14 gadi atpakaļ |
Jonas Maebe
|
1a7c024ad3
* sign extend all byte/ansichar/word parameters before passing them
|
14 gadi atpakaļ |
Jonas Maebe
|
1a23a7cd27
* removed all remaining nounsupported ifdefs (except for the one about
|
14 gadi atpakaļ |
Jonas Maebe
|
d6966e545b
+ support for formal var/out parameters on the JVM target:
|
14 gadi atpakaļ |
Jonas Maebe
|
874095a1c0
* don't skip pushing self parameters for methods of empty structures
|
14 gadi atpakaļ |
Jonas Maebe
|
c9537e3347
+ support for non-array/record var parameter on the JVM target using
|
14 gadi atpakaļ |
Jonas Maebe
|
694ccf3df3
+ dummy support for untyped var/const/out parameters on the JVM target
|
14 gadi atpakaļ |
Jonas Maebe
|
d1a1d30e04
* unless compiled with -dnounsupported, the compiler will now accept not
|
14 gadi atpakaļ |
Jonas Maebe
|
5abf6d0aa4
+ thlcgobj support of the managed open array initialization fixes of
|
14 gadi atpakaļ |
Jonas Maebe
|
2c313e397e
+ support for regular arrays and open arrays
|
14 gadi atpakaļ |
Jonas Maebe
|
0e87627218
+ gethltemp() to allocate a temp specifying full type information even
|
14 gadi atpakaļ |
Jonas Maebe
|
13a459c2d7
* replaced all calls to cg.g_incr/decrrefcount/g_initialize/g_finalize with
|
14 gadi atpakaļ |
Jonas Maebe
|
28740dce2d
- removed extra "fordefinition" parameter again from tprocdef.mangledname(),
|
14 gadi atpakaļ |
Jonas Maebe
|
eb5814a868
* implemented declaring and calling constructors for Java classes
|
14 gadi atpakaļ |
Jonas Maebe
|
e2e32fbbe9
* fixed temp leaking after release_unused_return_value_cpu() refactor:
|
14 gadi atpakaļ |
Jonas Maebe
|
9a9ea1f257
+ limited thlcg.gen_load_cgpara_loc() implementation (only loc_reference
|
14 gadi atpakaļ |
Jonas Maebe
|
b837694207
* factored out releasing an unused return value into
|
14 gadi atpakaļ |
Jonas Maebe
|
71deda6f50
+ added interface to ncgutil.gen_load_loc_cgpara() to hlcgobj + generic
|
14 gadi atpakaļ |
Jonas Maebe
|
0ee702b3a2
* tprocdef.mangledname now gets an extra boolean parameter indicating
|
14 gadi atpakaļ |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 gadi atpakaļ |
svenbarth
|
96116a6c3a
Several adjustments because virtual methods in helpers are just normal methods and a VMT isn't generated for them either.
|
14 gadi atpakaļ |
sergei
|
48d93dc40e
* Fixed handling of "open array of managed type" out-parameters at caller side. Reference count should be decremented only for those array elements which are actually passed to the called procedure; it may be a part of original array if range or slice is used. Concludes work on #18859.
|
14 gadi atpakaļ |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
14 gadi atpakaļ |
svenbarth
|
d12b198c7f
Rebase to revision 16888
|
14 gadi atpakaļ |