paul
|
b2a613c17f
compiler: implement record constructors + tests
|
12 éve |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
12 éve |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 éve |
pierre
|
7ea11f0171
Use SUPPORT_SAFECALL conditional
|
13 éve |
florian
|
67744ef46e
* fix methodpointers in registers on big endian targets
|
13 éve |
florian
|
4514a55ec6
* call method pointers located in registers correctly
|
13 éve |
Jonas Maebe
|
0a1157da38
* fixed memory leaks in the compiler introduced in r21862 by marking and
|
13 éve |
Jonas Maebe
|
1955255dda
* let thlcg.a_call_name() return the tcgpara representing the function
|
13 éve |
Jonas Maebe
|
276a0918f5
* fixed (harmless) class cast error
|
13 éve |
pierre
|
3f6c3cbb87
* Call hlcg.a_call_ref and a_call_reg instead of cg methods (needed for MIPS cpu)
|
13 éve |
florian
|
7df1403849
* fix releasing of shortstring temps. in arrayconstructor nodes
|
13 éve |
Jonas Maebe
|
571b3feab1
* fixed internalerror on win64 after r21696 (source register size depends on
|
13 éve |
Jonas Maebe
|
7c21cba1e2
* migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg
|
13 éve |
Jonas Maebe
|
7a0ae38700
+ also specify the parameter def when allocating a parameter via
|
13 éve |
Jonas Maebe
|
325c60866f
* use tcgpara.def instead of extra size parameters
|
13 éve |
Jonas Maebe
|
9bfb8b5d48
* fixed (currently harmless) error in r21287 that specified that the full
|
13 éve |
Jonas Maebe
|
edd42aa42a
* moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for
|
13 éve |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
13 éve |
sergei
|
13e513fdf7
* Pass NR_FUNCTION_RESULT_REG to FPC_SAFECALLCHECK in target-independent way.
|
13 éve |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 éve |
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 éve |
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 éve |
sergei
|
3a579ced7b
* Fixed IE201103063 when <dynamic array of unmanaged type> is being passed to <out open array> parameter.
|
13 éve |
pierre
|
b6de7f0d6b
* Suppress Comaprison might be always false if first_mm_imreg is zero
|
14 éve |
Jonas Maebe
|
1a7c024ad3
* sign extend all byte/ansichar/word parameters before passing them
|
14 éve |
Jonas Maebe
|
1a23a7cd27
* removed all remaining nounsupported ifdefs (except for the one about
|
14 éve |
Jonas Maebe
|
d6966e545b
+ support for formal var/out parameters on the JVM target:
|
14 éve |
Jonas Maebe
|
874095a1c0
* don't skip pushing self parameters for methods of empty structures
|
14 éve |
Jonas Maebe
|
c9537e3347
+ support for non-array/record var parameter on the JVM target using
|
14 éve |
Jonas Maebe
|
694ccf3df3
+ dummy support for untyped var/const/out parameters on the JVM target
|
14 éve |