marco
|
f42dffb36d
--- Merging r39877 into '.':
|
6 년 전 |
svenbarth
|
85439a0fa0
* also check for nf_assign_done_in_right flag after typechecking the right side
|
7 년 전 |
florian
|
0fd0e356e1
+ new flag ra_different_scope: used if a node tree is marked as non-regable if a variable is accessed from a different scope
|
7 년 전 |
florian
|
c230f81719
+ support for <dyn. array>+<dyn. array>, resolves #30463
|
7 년 전 |
svenbarth
|
d50848174a
+ add putboolean and getboolean convenience methods to tentfile
|
7 년 전 |
nickysn
|
efc5e339d0
* use an enum instead of integer constants to represent inline numbers
|
8 년 전 |
florian
|
b1dff29cbf
* removed unused units
|
8 년 전 |
svenbarth
|
8f4ef91efb
* tarrayconstructornode: force conversion to set if there's a range node in the tree
|
8 년 전 |
svenbarth
|
82b2d22ed6
* keep track of allow_array_constructor as part of the array constructor node
|
8 년 전 |
svenbarth
|
dfc23da06c
* tassignmentnode.pass_typecheck: also allow "dynarray := []" in addition to "dynarray := nil"
|
8 년 전 |
svenbarth
|
b1c66dee9b
+ tarrayconstructornode: add utility method has_range_node to check whether the array constructor node tree contains any range node
|
8 년 전 |
svenbarth
|
4a2266ac44
* tarrayconstructornode.pass_typecheck: set elementdef of the arraydef only after the arrayoptions are changed
|
8 년 전 |
nickysn
|
012153201a
* moved the conversion of "x:=x op k" to inline nodes to a separate optimization
|
8 년 전 |
nickysn
|
5bb77905cd
* fixed the missing warnings for unused variables at -O3, when one of the new
|
8 년 전 |
nickysn
|
4697a653a4
+ perform the "i:=i +/-/and/or/xor k" optimization when there are two typecasts
|
8 년 전 |
nickysn
|
d8406c4227
+ perform the "i:=-i" / "i:=not i" optimization even when there are typecasts
|
8 년 전 |
nickysn
|
98be270adb
* fixed a memory leak in the "i:=-i" / "i:=not i" optimization
|
8 년 전 |
nickysn
|
e78f0aafcd
- remove whitespace, was inserted by accident
|
8 년 전 |
nickysn
|
3616627d0b
* at -O3 optimization level, convert "i:=not i" and "i:=-i" to the new
|
8 년 전 |
nickysn
|
f29492bdea
* at -O3 level, convert i:=i and/or/xor k to the new in_[and/or/xor]_assign_x_y
|
8 년 전 |
florian
|
b55cb246da
* do +/-/pred/succ to inc/dec optimizations only at an appropriate optimziation level
|
8 년 전 |
pierre
|
a7c7319352
Avoid use of getcopy method for i:=i+/i k optimization
|
8 년 전 |
florian
|
a679cd4e37
* copy loadnodeflags in tloadnode.dogetcopy as well
|
8 년 전 |
nickysn
|
bd48a71a98
* replace i:=i+k/i:=k+i/i:=i-k (integer only, for now; later we can also do this for pointers too) by inc/dec(i,k)
|
8 년 전 |
florian
|
a27b07b342
+ more restrictions on pred/succ to dec/inc optimization
|
8 년 전 |
florian
|
000cffa8e3
* make more use of nf_internal to avoid range check errors
|
8 년 전 |
florian
|
509f6839fe
+ replace i:=succ/pred(i) by inc/dec(i)
|
8 년 전 |
Jonas Maebe
|
233622157c
* don't attempt to load the VMT of a niln when taking the address of a
|
8 년 전 |
Jonas Maebe
|
2d051f89f7
* don't increase refcounts for variants assigned to (ti_)const nodes, fixes
|
9 년 전 |
Jonas Maebe
|
f64556c125
* when taking the address of a class method via an instance, create a procvar
|
9 년 전 |