Jonas Maebe
3ac703506c
* rest of the previous accidental partial commit
...
git-svn-id: branches/fixes_3_2@41250 -
2019-02-07 19:56:21 +00:00
nickysn
efc5e339d0
* use an enum instead of integer constants to represent inline numbers
...
* compinnr.inc include file converted to a unit
* inline number field size stored in ppu increased from byte to longint
* inlines in the parse tree (when written with the -vp option) now printed with
their enum name, instead of number
git-svn-id: trunk@36174 -
2017-05-10 14:41:43 +00:00
florian
b1dff29cbf
* removed unused units
...
git-svn-id: trunk@36165 -
2017-05-09 19:53:14 +00:00
nickysn
8512f8240e
+ enable constant propagation across 2-parameter inc()/dec() calls
...
git-svn-id: trunk@35962 -
2017-04-26 23:21:44 +00:00
Jonas Maebe
7911cc8437
- removed some dataconstn remenants
...
git-svn-id: trunk@35314 -
2017-01-16 21:27:20 +00:00
florian
6b84a1e1b8
+ do constant propagation into arguments of inline nodes if possible
...
+ do constant propagation into inc/dec nodes, if the node being identified as constant, is inc'ed/dec'ed
git-svn-id: trunk@34794 -
2016-11-05 23:05:53 +00:00
florian
f393c3ff37
* propagate constants into the header of a for loop
...
+ test which avoids this so we do not miss regressions on for loops with variable boundaries
git-svn-id: trunk@26339 -
2013-12-31 13:16:09 +00:00
florian
27f6fd1c2c
* use new shl/shr constant folding (of r26295) only if forinline is set
...
* explicitly simplify tree after constant propagation
git-svn-id: trunk@26311 -
2013-12-29 14:09:03 +00:00
florian
e9777503d1
* check addr_taken when propagating constants
...
* do constant propagation on static var syms as well
git-svn-id: trunk@26297 -
2013-12-28 20:19:40 +00:00
florian
e8787c4b48
+ constant propagation, based on a patch by Jeppe Johansen
...
git-svn-id: trunk@25958 -
2013-11-06 21:10:15 +00:00