Nicolas Cannasse
|
de4ed88e94
fix hole in final return detection, close #4410
|
10 年之前 |
Simon Krajewski
|
e86c9c1b12
fix term control flow check for switch in inliner (closes #4324)
|
10 年之前 |
Simon Krajewski
|
830e34496b
take off Const flag when inlining (closes #4086)
|
10 年之前 |
Simon Krajewski
|
a421c33253
do not duplicate simplifier locals because that's not safe
|
10 年之前 |
Simon Krajewski
|
fb4a03b876
split off parts of `api_inline` that can be called without a typer context
|
10 年之前 |
Simon Krajewski
|
a3b53ddaea
optimize Math.floor/ceil(float constant) (closes #4223)
|
10 年之前 |
Simon Krajewski
|
8f8b967326
avoid French string literal
|
10 年之前 |
Simon Krajewski
|
319588b6bf
support {| completion (closes #3907)
|
10 年之前 |
Simon Krajewski
|
d7d3c366ca
do not inline constructors if the variable type differs (see #3967)
|
10 年之前 |
Simon Krajewski
|
4806487d56
do not try to be too smart about inlining constructors (see #3967)
|
10 年之前 |
Cauê Waneck
|
90ddbdfa14
[cs] Various enum-related fixes:
|
10 年之前 |
Simon Krajewski
|
ba507a4d32
Revert "compare v_id instead of physical equality for variables to avoid issues with interp encoding"
|
10 年之前 |
Dan Korostelev
|
194ba29a46
compare v_id instead of physical equality for variables to avoid issues with interp encoding
|
10 年之前 |
Simon Krajewski
|
dd3f440ce7
add commented out implementation for #3524
|
10 年之前 |
Simon Krajewski
|
a295f6990a
[inliner] make sure `i_captured` is always set when a local is read
|
10 年之前 |
Simon Krajewski
|
33d8705813
insert cast when inlining abstracts and make constructor inlining more robust
|
10 年之前 |
Simon Krajewski
|
ebac64a6cd
fix `make_constant_expression`
|
10 年之前 |
Nicolas Cannasse
|
483cb0a4ff
avoid replacing local function args when outside of it in optimize_completion (close #2542)
|
10 年之前 |
Simon Krajewski
|
409140003d
disable for folding for now (see #3792)
|
10 年之前 |
Simon Krajewski
|
9935e719a9
traverse untyped AST so we don't have to type it
|
10 年之前 |
Simon Krajewski
|
fa4e0af33d
add `-D loop_unroll_max_cost=int` flag and cancel loop unrolling at 250 by default
|
10 年之前 |
Simon Krajewski
|
5030cdd716
exit loop unrolling if we find a break or continue
|
10 年之前 |
Simon Krajewski
|
b9010e7321
support loop unrolling for `for (i in [1, 2, 3])` (see #3784)
|
10 年之前 |
Simon Krajewski
|
ff66cf7201
move TFor inlining to optimizer so we can utilize it during optimization at some point (see #3663)
|
10 年之前 |
Simon Krajewski
|
f996b26c63
store type parameters in FClosure too
|
10 年之前 |
Simon Krajewski
|
ea996a6d47
disable abstract inline change for now (see #2236) (see #3713)
|
10 年之前 |
Simon Krajewski
|
5da8ea7d5c
[inliner] change type of abstract `this` expression to preserve it (closes #2236) (closes #3713)
|
10 年之前 |
Nicolas Cannasse
|
4b122ac0a1
fixed insane Std.instance bug (see #3642)
|
10 年之前 |
Simon Krajewski
|
79d97c4ea0
[typer] fix forced inline detection (see #3542)
|
10 年之前 |
Simon Krajewski
|
98eb90ff89
[inliner] disable unification (see #3542)
|
10 年之前 |