Jonas Maebe
|
146e3bcb9e
* synchronised with trunk till r29513
|
10 vuotta sitten |
Jonas Maebe
|
e97f31541e
- reverted partial commit of merge
|
10 vuotta sitten |
Jonas Maebe
|
a76bbf363d
* synchronised with trunk r29513
|
10 vuotta sitten |
florian
|
1178fdc98f
* force objects and records only into memory if their address is passed, hint from Jonas, improves code after r29139
|
10 vuotta sitten |
florian
|
854fa1d4b9
* force advanced records into memory when they are used as self, resolves #26075
|
11 vuotta sitten |
sergei
|
bb1cec2474
* tcgcallparanode.secondcallparan: factored a complex condition into variable.
|
11 vuotta sitten |
nickysn
|
0f9e8f84bb
* tcgcallnode.pass_generate_code: pass the correct vmt pointer type parameter to
|
11 vuotta sitten |
Jonas Maebe
|
bd09b88a5b
+ support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension)
|
11 vuotta sitten |
Jonas Maebe
|
5fa09fa2f4
* changed tcallnode.fforcedprocname from shortstring into tsymstr,
|
11 vuotta sitten |
Jonas Maebe
|
73a3f5ced4
* moved ncgutil.maybechangeloadnodereg() to hlcg.maybe_change_load_node_reg()
|
11 vuotta sitten |
Jonas Maebe
|
84442d05f9
* renamed fobjcforcedprocname to fforcedprocname and also use it for the
|
11 vuotta sitten |
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.
|
11 vuotta sitten |
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.
|
11 vuotta sitten |
sergei
|
e0082262cc
* Don't generate VMT checking code twice (gen_load_vmt_register generates it already).
|
11 vuotta sitten |
sergei
|
ff3fe06af9
* Changed condition around declaration of 'cgpara' to be the same as around its usage.
|
11 vuotta sitten |
svenbarth
|
235c06ab34
Implement volatile address registers. Fixes quite some tests, but also breaks others... (overall more are fixed than are broken :) )
|
12 vuotta sitten |
nickysn
|
1029636dfe
* far proc fixes in tcgcallnode.pass_generate_code
|
12 vuotta sitten |
nickysn
|
ed92dee3fb
* fixed the calling of virtual methods on i8086
|
12 vuotta sitten |
Jonas Maebe
|
8b8a786823
* moved ARM/x86 ifdef'ed code from ncgcal to virtual methods
|
12 vuotta sitten |
Jonas Maebe
|
4daa40f480
* reorder register parameters to minimise the number of register conflicts,
|
12 vuotta sitten |
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.
|
12 vuotta sitten |
svenbarth
|
7bad1763b8
Decrease amount of code duplication regarding handling of safecall and record constructors.
|
12 vuotta sitten |
Jonas Maebe
|
10e3cab1b1
* fixed formatting
|
12 vuotta sitten |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
12 vuotta sitten |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
12 vuotta sitten |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
12 vuotta sitten |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 vuotta sitten |
pierre
|
7ea11f0171
Use SUPPORT_SAFECALL conditional
|
13 vuotta sitten |
florian
|
67744ef46e
* fix methodpointers in registers on big endian targets
|
13 vuotta sitten |
florian
|
4514a55ec6
* call method pointers located in registers correctly
|
13 vuotta sitten |