nickysn
|
1029636dfe
* far proc fixes in tcgcallnode.pass_generate_code
|
před 12 roky |
nickysn
|
ed92dee3fb
* fixed the calling of virtual methods on i8086
|
před 12 roky |
Jonas Maebe
|
8b8a786823
* moved ARM/x86 ifdef'ed code from ncgcal to virtual methods
|
před 12 roky |
Jonas Maebe
|
4daa40f480
* reorder register parameters to minimise the number of register conflicts,
|
před 12 roky |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
před 12 roky |
svenbarth
|
7bad1763b8
Decrease amount of code duplication regarding handling of safecall and record constructors.
|
před 12 roky |
Jonas Maebe
|
10e3cab1b1
* fixed formatting
|
před 12 roky |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
před 12 roky |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
před 12 roky |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
před 12 roky |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
před 12 roky |
pierre
|
7ea11f0171
Use SUPPORT_SAFECALL conditional
|
před 13 roky |
florian
|
67744ef46e
* fix methodpointers in registers on big endian targets
|
před 13 roky |
florian
|
4514a55ec6
* call method pointers located in registers correctly
|
před 13 roky |
Jonas Maebe
|
0a1157da38
* fixed memory leaks in the compiler introduced in r21862 by marking and
|
před 13 roky |
Jonas Maebe
|
1955255dda
* let thlcg.a_call_name() return the tcgpara representing the function
|
před 13 roky |
Jonas Maebe
|
276a0918f5
* fixed (harmless) class cast error
|
před 13 roky |
pierre
|
3f6c3cbb87
* Call hlcg.a_call_ref and a_call_reg instead of cg methods (needed for MIPS cpu)
|
před 13 roky |
florian
|
7df1403849
* fix releasing of shortstring temps. in arrayconstructor nodes
|
před 13 roky |
Jonas Maebe
|
571b3feab1
* fixed internalerror on win64 after r21696 (source register size depends on
|
před 13 roky |
Jonas Maebe
|
7c21cba1e2
* migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg
|
před 13 roky |
Jonas Maebe
|
7a0ae38700
+ also specify the parameter def when allocating a parameter via
|
před 13 roky |
Jonas Maebe
|
325c60866f
* use tcgpara.def instead of extra size parameters
|
před 13 roky |
Jonas Maebe
|
9bfb8b5d48
* fixed (currently harmless) error in r21287 that specified that the full
|
před 13 roky |
Jonas Maebe
|
edd42aa42a
* moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for
|
před 13 roky |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
před 13 roky |
sergei
|
13e513fdf7
* Pass NR_FUNCTION_RESULT_REG to FPC_SAFECALLCHECK in target-independent way.
|
před 13 roky |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
před 13 roky |
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.
|
před 13 roky |
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.
|
před 13 roky |