Jonas Maebe
|
73a3f5ced4
* moved ncgutil.maybechangeloadnodereg() to hlcg.maybe_change_load_node_reg()
|
vor 11 Jahren |
Jonas Maebe
|
84442d05f9
* renamed fobjcforcedprocname to fforcedprocname and also use it for the
|
vor 11 Jahren |
sergei
|
9c1f917e3a
* a_call_ref functionality cannot be implemented efficiently at code generator level, because references need specific preparations at earlier points. Moved this support to tcgcallnode and its x86 descendants, and got rid of all ifdef's around.
|
vor 11 Jahren |
sergei
|
7104157a57
* Changed tabstractprocdef.address_size to return the def, which can be used to get other properties like size and alignment. Removes one of i8086 ifdef's.
|
vor 11 Jahren |
sergei
|
e0082262cc
* Don't generate VMT checking code twice (gen_load_vmt_register generates it already).
|
vor 11 Jahren |
sergei
|
ff3fe06af9
* Changed condition around declaration of 'cgpara' to be the same as around its usage.
|
vor 11 Jahren |
svenbarth
|
235c06ab34
Implement volatile address registers. Fixes quite some tests, but also breaks others... (overall more are fixed than are broken :) )
|
vor 12 Jahren |
nickysn
|
1029636dfe
* far proc fixes in tcgcallnode.pass_generate_code
|
vor 12 Jahren |
nickysn
|
ed92dee3fb
* fixed the calling of virtual methods on i8086
|
vor 12 Jahren |
Jonas Maebe
|
8b8a786823
* moved ARM/x86 ifdef'ed code from ncgcal to virtual methods
|
vor 12 Jahren |
Jonas Maebe
|
4daa40f480
* reorder register parameters to minimise the number of register conflicts,
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
svenbarth
|
7bad1763b8
Decrease amount of code duplication regarding handling of safecall and record constructors.
|
vor 12 Jahren |
Jonas Maebe
|
10e3cab1b1
* fixed formatting
|
vor 12 Jahren |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
vor 12 Jahren |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
vor 12 Jahren |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
vor 12 Jahren |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
vor 12 Jahren |
pierre
|
7ea11f0171
Use SUPPORT_SAFECALL conditional
|
vor 13 Jahren |
florian
|
67744ef46e
* fix methodpointers in registers on big endian targets
|
vor 13 Jahren |
florian
|
4514a55ec6
* call method pointers located in registers correctly
|
vor 13 Jahren |
Jonas Maebe
|
0a1157da38
* fixed memory leaks in the compiler introduced in r21862 by marking and
|
vor 13 Jahren |
Jonas Maebe
|
1955255dda
* let thlcg.a_call_name() return the tcgpara representing the function
|
vor 13 Jahren |
Jonas Maebe
|
276a0918f5
* fixed (harmless) class cast error
|
vor 13 Jahren |
pierre
|
3f6c3cbb87
* Call hlcg.a_call_ref and a_call_reg instead of cg methods (needed for MIPS cpu)
|
vor 13 Jahren |
florian
|
7df1403849
* fix releasing of shortstring temps. in arrayconstructor nodes
|
vor 13 Jahren |
Jonas Maebe
|
571b3feab1
* fixed internalerror on win64 after r21696 (source register size depends on
|
vor 13 Jahren |
Jonas Maebe
|
7c21cba1e2
* migrated g_copyshortstring, g_incrrefcount and g_array_rtti_helper to thlcg
|
vor 13 Jahren |
Jonas Maebe
|
7a0ae38700
+ also specify the parameter def when allocating a parameter via
|
vor 13 Jahren |
Jonas Maebe
|
325c60866f
* use tcgpara.def instead of extra size parameters
|
vor 13 Jahren |