Artem Kobzar
46dc478c03
[K/Wasm] Reduce debug information for the internal Kotlin functions
2024-03-12 17:37:03 +00:00
Ilya Gorbunov
ae3e770246
Update line numbers from stdlib in inlining and stepping tests
2024-03-11 18:12:27 +00:00
Artem Kobzar
30aae741a6
[K/Wasm] Fix DROP location
2024-03-04 15:05:23 +00:00
Artem Kobzar
2e4d02e9f4
[PSI2IR, K/Wasm] Sync start and end offsets on PSI and FIR for primary constructors
2024-02-29 14:42:33 +00:00
Artem Kobzar
02a78051aa
[PSI2IR] Sync start and end offsets on PSI and FIR for an implicit return inside lambdas
2024-02-27 19:25:24 +00:00
Artem Kobzar
4f521aa05c
[K1] Fix string offsets to include quotes in the same way it's done in FIR
2024-02-02 14:43:46 +00:00
vladislav.grechko
f318b5969d
Erase non-reified type parameters by-default when inlining.
...
Substitution of type arguments to non-reified type parameters may lead
to accidental reification, which should not be done (see ^KT-60174 for
examples). So, we should erase them, except the few cases.
^KT-60174: Fixed
^KT-60175: Fixed
2024-01-26 18:31:20 +00:00
Artem Kobzar
327085e026
[K/Wasm] Unmute most of the stepping tests for Wasm in K1
2023-12-28 16:32:10 +00:00
Alexander Udalov
5e330acd28
Tests: remove stepping tests on old JVM backend
2023-12-18 21:42:35 +00:00
Artem Kobzar
05ed134fbb
[K/Wasm] Introduce stepping tests for Wasm
2023-08-15 17:03:11 +00:00
Alexander Korepanov
79d378f2bd
[JS IR] Perform optimizations on the generated JS code
...
The patch adopts and reuses the optimizations from the legacy backend.
The optimizations remove useless temporary variables,
statements and simplify generated JS code.
The optimizations can be disabled by `-Xoptimize-generated-js=false`.
Related to KT-51139
2023-04-18 12:49:33 +00:00
Sergej Jaskiewicz
2ece4f4dbf
[JS IR] Improve the precision of execution of stepping tests
2022-08-05 11:53:40 +00:00
Sergej Jaskiewicz
1241565cce
[JS IR] Adapt stepping tests for Kotlin/JS
2022-07-19 16:06:24 +00:00
pyos
c43acba0b9
JVM: restore call site line number after inlining lambda
...
E.g. in `x + f()` where `f` is an inline lambda, the instructions for
`+` should have the line number of that expression (while previously
they instead had the line number of the last line of the lambda).
^KT-51738 Fixed
2022-05-02 19:28:10 +02:00
Mads Ager
e9c9d5731e
[JVM] Port Stepping and LocalVariable tests to new test infra.
...
This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
2021-10-15 20:03:54 +03:00
Mads Ager
9fa1614903
[JVM] Port line number tests to stepping framework.
...
Allow specifying JVM and JVM_IR as well as shared expectations.
Add the method name to the step.
Discard steps in synthetic methods.
2020-05-27 07:28:47 +02:00
Kristoffer Andersen
7ec4c9990a
[JVM] Improve debug step behavior around lambdas.
...
- Add tests to clarify problematic behavior
- Avoid line numbers on return instructions of lambdas without explicit returns
2020-04-15 14:33:49 +02:00