Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
há 10 anos atrás |
florian
|
932b68310e
* do not warn about internally generated parameters, resolves #25914
|
há 10 anos atrás |
sergei
|
adeb8c93e9
* Set pi_do_call flag explicitly when procedure has a parameter or local var that require finalization. Normally it is set by implicit try..finally node, but this node is absent when compiling in {$implicitexceptions off} mode. This may cause internal errors in pass 2 if pi_do_call has not been set by other means.
|
há 10 anos atrás |
Jonas Maebe
|
eb419b58c5
- disable inlining of routines that contain a call to a C-style varargs
|
há 10 anos atrás |
florian
|
69ac7dd7ef
* limit initialization to register variables which really need to be initialized
|
há 10 anos atrás |
svenbarth
|
af43e5e3e9
Fix for Mantis #24872.
|
há 10 anos atrás |
florian
|
f1eb00a450
* do not issue a hint about uninitialized var-parameters, resolves #25916
|
há 10 anos atrás |
sergei
|
0b4d54fcb9
- Delete all position markers from assembler code before optimization. Markers of this kind are not used by optimizer and are expected to be ignored, but ignoring them requires numerous checks in all target-specific optimizers and currently isn't done correctly. In turn, failure to ignore markers prevents optimization of procedure prologues and epilogues.
|
há 11 anos atrás |
Jonas Maebe
|
bacd303208
* synchronized with trunk up to r27758
|
há 11 anos atrás |
Jonas Maebe
|
362ff5ad01
* only check for _PROPERTY as a regular token, so that
|
há 11 anos atrás |
sergei
|
96dd464bf2
* Moved fixup_jmps to target-specific classes for powerpc,powerpc64 and MIPS, cleaned out remaining $ifdef's. A slight functionality change is that fixup_jmps is now called before adding the procedure end symbol, not after, but that should not matter.
|
há 11 anos atrás |
sergei
|
eeb15fc445
* Added virtual method tprocinfo.postprocess_code and moved target-specific processing from base class into target-specific descendant classes (ARM and AVR, other targets still to do).
|
há 11 anos atrás |
Jonas Maebe
|
d020a32b9a
- removed no longer used tprocdef.fpu_used field for i386/i8086 (the one
|
há 11 anos atrás |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
há 11 anos atrás |
florian
|
686a2d2f3f
+ Support omitting the frame pointer on arm even in procedures with incoming parameters
|
há 11 anos atrás |
florian
|
04464b8622
* do not create an fpc_zeromem node if size=0
|
há 11 anos atrás |
Jonas Maebe
|
f936a48afa
* don't change the forward/interface definition of regular forward/interface
|
há 11 anos atrás |
Jonas Maebe
|
1ac4021178
* moved po_has_inlininginfo from procoptions to procimploptions so that
|
há 11 anos atrás |
Jonas Maebe
|
e9268a0a14
* synchronised with trunk up till r26975
|
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 |
florian
|
b1f54b2853
* indentation fixed
|
há 11 anos atrás |
florian
|
fc7dc9e54c
* do cse after the init/final code has been inserted, this might enable new cse opportunities
|
há 11 anos atrás |
florian
|
6e63272ab7
* added missing parenthesis
|
há 11 anos atrás |
nickysn
|
338d72f564
* extracted the code from psub.translate_registers for generating the name of
|
há 11 anos atrás |
sergei
|
6ea9ce1077
* Force managed types to be always returned in parameters, independent of target (primitive types were already handled that way; the patch affects small records with fields of managed types).
|
há 11 anos atrás |
florian
|
99eadb91b3
* run CheckAndWarn to get proper locations for warnings about uninitialized variables
|
há 12 anos atrás |
Jonas Maebe
|
044e133067
* override hlcgcpu.create_codegen with hlcgllvm.create_codegen when building
|
há 12 anos atrás |
florian
|
8be7cfa05f
* check the scope of a variable when checking dfa based uninitialized variables,
|
há 12 anos atrás |
florian
|
57586b69c7
* implicit try...finally frames are added after dfa so we don't have to take care if the subroutine needs/uses those or not
|
há 12 anos atrás |