vladislav.grechko
f32367d2c2
Fix IrFunction.isEmptyArray implementation
...
The previous one was incorrect for K1 since parent of top-level function
is `IrClass`, not `IrPackageFragment`.
The change is non-functional, K1 still worked correctly, but had to do
some extra work when inlining `emptyArray` calls and produces less
performant bytecode.
2024-02-22 07:32:36 +00:00
vladislav.grechko
34bac48541
Add JVM ABI K1/K2 consistency tests
2023-12-26 10:18:19 +00:00
Alexander Udalov
9f9287fb2e
IR: keep flexible type annotations when building fake overrides
...
#KT-61751 Fixed
2023-09-15 09:40:45 +00:00
Alexander Udalov
21d56d04d6
Tests: reclassify some failures in fake override rebuilder tests
...
See issues for more information: KT-61751, KT-61804, KT-61805, KT-61370.
2023-09-13 15:01:52 +02:00
Pavel Kunyavskiy
91e96e9f31
[Fir2Ir] Introduce testing with IrFakeOverrideBuilder
...
^KT-61514
2023-08-31 13:12:15 +00:00
Ilya Gorbunov
3778b1fde1
Remove ExperimentalStdlibApi no longer required in tests
2022-04-12 15:03:42 +00:00
Igor Yakovlev
4f9b54da26
[WASM] Remove ignore from wasm std text tests
2021-12-07 21:33:28 +03:00
Ivan Kylchik
c7435ba760
Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
...
We are going to deprecate `WITH_RUNTIME` directive. The main reason
behind this change is that `WITH_STDLIB` directive better describes
its meaning, specifically it will add kotlin stdlib to test's classpath.
2021-11-17 15:26:38 +03:00
Dmitry Petrov
c441980c74
JVM_IR don't move inplace arguments with variable stores
...
KT-49370
KT-49407
2021-10-25 20:11:42 +03:00
Svyatoslav Kuzmich
15acc412ba
[Wasm] Update testdata after coroutines support
2021-10-12 08:42:00 +03:00
Svyatoslav Kuzmich
ab9a23cbfa
[Wasm][Stdlib] Reuse K/N collections and StringBuilder
2021-10-01 17:18:49 +03:00
Ilmir Usmanov
c01c356817
Do not extend LVT ranges during inplace arguments inlining
...
Otherwise, R8 does not transform kotlin-reflect, failing bootstrap.
Leaving end label the same is safe, since we do not remove labels during
transformation.
2021-08-23 11:51:30 +00:00
Dmitry Petrov
f8503ba1bf
JVM_IR KT-47984 minor avoid using @Deprecated function in tests
2021-08-13 18:08:55 +03:00
Dmitry Petrov
edd2ca775b
JVM_IR KT-47984 use stack size calculator from ASM
2021-08-13 18:08:52 +03:00
Dmitry Petrov
5096e8c5c4
JVM_IR KT-47984 transform inplace arguments before inlining
2021-08-13 18:08:49 +03:00
Dmitry Petrov
7a99f9ff2e
JVM_IR KT-47984 allow noinline functional inplace args
2021-08-13 18:08:48 +03:00
Dmitry Petrov
9be941def2
JVM_IR KT-47984 don't move inplace arguments with suspension points
2021-08-13 18:08:47 +03:00
Dmitry Petrov
9acdcc7590
JVM_IR KT-47984 minor cleanup
2021-08-13 18:08:47 +03:00
Dmitry Petrov
b01c13a4df
JVM_IR KT-47984 inplace arguments inlining for @InlineOnly functions
2021-08-13 18:08:44 +03:00