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.
|
11 years ago |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 years ago |
florian
|
1d4a4d0684
+ noreturn directive
|
11 years ago |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
11 years ago |
florian
|
f95b225157
* fix wrong constant temp handling, introduced in r24953, resolves #24915
|
12 years ago |
florian
|
be2ab84474
* make actualtargetnode a normal procedure using pointers to node so it can be used also when replacing nodes
|
12 years ago |
florian
|
541d67771b
* keep managed types in registers if possible. Under certain circumstances (if they don't require init/final code,
|
12 years ago |
nickysn
|
5dfdb616be
* fixed a regression, introduced in r24571
|
12 years ago |
nickysn
|
d300116419
* fixed a bug, which caused ptr(nonconst, const) to be incorrectly inlined as a const
|
12 years ago |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
12 years ago |
florian
|
709ba5e053
+ introduce cnf_call_never_returns to signal the dfa if a call node never returns
|
12 years ago |
florian
|
877c6e9ce9
* formatting
|
12 years ago |
Jonas Maebe
|
9973a5737f
* don't give an error when calling a class method on an object typecasted
|
12 years ago |
nickysn
|
284f1c904a
* fixed a parameter pushing order bug on the i8086
|
12 years ago |
Jonas Maebe
|
1601f6bea8
* treat methods called via records the same as records called via objects
|
12 years ago |
florian
|
63f6afffd5
+ make empty proc. removal switchable by removeemptyprocs
|
12 years ago |
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 years ago |
Jonas Maebe
|
9cbff6f5a6
+ support for record constructors for the JVM target
|
12 years ago |
Jonas Maebe
|
9145f1d67d
* integrated potype_constructor check in maybe_create_funcret_node
|
12 years ago |
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.)
|
12 years ago |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
12 years ago |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
12 years ago |
florian
|
329257d76e
* check for empty procedures after helper test so even empty helper methods cannot be called directly
|
12 years ago |
florian
|
24f518f232
+ redirect calls to empty virtual methods to FPC_EMPTYMETHOD
|
12 years ago |
florian
|
4d6471fef6
* get rid of calls to empty procedures having parameters without side effect
|
12 years ago |
Jonas Maebe
|
d9e67fc835
* don't add a separate high parameter for array-of-const parameters on the
|
12 years ago |
svenbarth
|
2db54da2b3
m68k also uses a non fixed stack with an equivalent to PUSH/POP so don't reorder parameters
|
12 years ago |
Jonas Maebe
|
f5de7e34d3
* only remove the calculation of unused parameters of inline routines if
|
13 years ago |
florian
|
1cd6f2355b
* don't copy const parameters passed by reference even if their complexity is >1,
|
13 years ago |
Jonas Maebe
|
f3ad4af343
* make sure valid_for_assign() returns false for inlined function bodies
|
13 years ago |