florian
|
1366498255
+ nf_addr_taken: it marks nodes which address is taken
|
há 11 anos atrás |
sergei
|
52af9a2c89
* Changed passing of hidden parameters to constructors of class-style objects: VMT is always passed in the first ('self') parameter, and the second one ('vmt', although this name is now misleading) contains flag specifying the constructor behavior and meaning of 'self'. Together with r26656 this removes methodpointer sharing between two parameter node trees, it becomes possible not to put methodpointer into temp, but use node tree below 'self' parameter to do virtual calls. This also matches behavior of Delphi.
|
há 11 anos atrás |
sergei
|
a1dfaa54dd
* Fixed exception handling in constructors of TP-style objects to correctly handle cases of statically allocated objects (must call destructor but do not free memory) and objects without destructor (must free memory if it was allocated dynamically).
|
há 11 anos atrás |
sergei
|
a5d5ce8eb2
* TP-style object destructors do not need actual VMT in hidden parameter, a constant flag indicating need to free memory is sufficient.
|
há 11 anos atrás |
florian
|
e6b68d19c8
* reordered decision how arguments for inlining are handled
|
há 11 anos atrás |
florian
|
2a7dcf6c7b
* formatting
|
há 11 anos atrás |
florian
|
d71bfe4c6f
* var parameters can be put in registers if the callee is inlined
|
há 11 anos atrás |
Jonas Maebe
|
c05da62b0e
* detect static data use by record methods and methods of nested classes/
|
há 11 anos atrás |
sergei
|
1a3b46967e
+ Two more checks for access to global data and setting the pi_needs_got flag, intended for targets that require decision about PIC code generation strictly before pass 2.
|
há 11 anos atrás |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
há 11 anos atrás |
florian
|
1d4a4d0684
+ noreturn directive
|
há 11 anos atrás |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
há 12 anos atrás |
florian
|
f95b225157
* fix wrong constant temp handling, introduced in r24953, resolves #24915
|
há 12 anos atrás |
florian
|
be2ab84474
* make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes
|
há 12 anos atrás |
florian
|
541d67771b
* keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code,
|
há 12 anos atrás |
nickysn
|
5dfdb616be
* fixed a regression, introduced in r24571
|
há 12 anos atrás |
nickysn
|
d300116419
* fixed a bug, which caused ptr(nonconst, const) to be incorrectly inlined as a const
|
há 12 anos atrás |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
há 12 anos atrás |
florian
|
709ba5e053
+ introduce cnf_call_never_returns to signal the dfa if a call node never returns
|
há 12 anos atrás |
florian
|
877c6e9ce9
* formatting
|
há 12 anos atrás |
Jonas Maebe
|
9973a5737f
* don't give an error when calling a class method on an object typecasted
|
há 12 anos atrás |
nickysn
|
284f1c904a
* fixed a parameter pushing order bug on the i8086
|
há 12 anos atrás |
Jonas Maebe
|
1601f6bea8
* treat methods called via records the same as records called via objects
|
há 12 anos atrás |
florian
|
63f6afffd5
+ make empty proc. removal switchable by removeemptyprocs
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Jonas Maebe
|
9cbff6f5a6
+ support for record constructors for the JVM target
|
há 12 anos atrás |
Jonas Maebe
|
9145f1d67d
* integrated potype_constructor check in maybe_create_funcret_node
|
há 12 anos atrás |
florian
|
cad1309935
* don't write directly to the function result destination if we are inlining and if the destination is too complex to evaluate (threadvar etc.)
|
há 12 anos atrás |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
há 12 anos atrás |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
há 12 anos atrás |