Elena Lepilkina
f67941e244
[K/N] Replaced safe points to prologue
2021-11-02 12:04:45 +00:00
Elena Lepilkina
15dcfa2837
[K/N] Fix new FileCheck tests after rebase
2021-11-02 12:04:45 +00:00
Elena Lepilkina
d8c9536edd
[K/N] Fixes in tests and check function in optimized mode
2021-11-02 12:04:44 +00:00
Elena Lepilkina
4d1c2c90d6
[K/N] Assertion for checking frame in LeaveFrame for old MM
2021-11-02 12:04:44 +00:00
Elena Lepilkina
a878b2e530
[K/N] Changed condition for adding EnterFrame/LeaveFrame
2021-11-02 12:04:43 +00:00
Elena Lepilkina
27490ca7ce
[K/N] Removed extra consition for C to Kotlin bridges because they have already needed annotation
2021-11-02 12:04:43 +00:00
Elena Lepilkina
23e5079391
[K/N] Added test for checking C callback set with Kotlin function throwing exception
2021-11-02 12:04:43 +00:00
Elena Lepilkina
751f1a3b91
[K/N] Added FileCheck for noreturn attribute absence for suspend functions
2021-11-02 12:04:42 +00:00
Elena Lepilkina
48e3df5224
[K/N] Small refactoring (review fixes)
2021-11-02 12:04:42 +00:00
Elena Lepilkina
778bbaf5b0
[K/N] Added frame check in LeaveFrame
2021-11-02 12:04:41 +00:00
Elena Lepilkina
b716872988
[K/N] All bridges should have cleanup landingpad block (BB with return can be called before setting terminated function used as reason to add Enter/Leave frame functions)
2021-11-02 12:04:41 +00:00
Elena Lepilkina
2d72f4d5a9
[K/N] Added checks for tests that current frame after catch is right
2021-11-02 12:04:40 +00:00
Elena Lepilkina
ccddf5b2d5
[K/N] Don't add safe point and state switching after setCurrentFrame in cleanup landingpad
2021-11-02 12:04:40 +00:00
Elena Lepilkina
28e30f7a45
[K/N] Replace thread state switching in objC interop before setting frame in kandingpad block
2021-11-02 12:04:40 +00:00
Elena Lepilkina
c228bfb18f
[K/N] Fix ObjC bridges LeaveFrame generation (return values in bridges are produced before epilogue block)
2021-11-02 12:04:39 +00:00
Elena Lepilkina
dba645bce1
[K/N] Fix FileCheck test, now compiler produces call instruction
2021-11-02 12:04:39 +00:00
Elena Lepilkina
555bcc0adb
[K/N] Don't set noreturn attribute for suspend functions to prevent LLVM SimplifySFG Pass from removing needed BB
2021-11-02 12:04:38 +00:00
Elena Lepilkina
a8c1a31be9
[K/N] Added setting frame in catch block in C bridges
2021-11-02 12:04:38 +00:00
Elena Lepilkina
c294365068
[K/N] Catch exceptions in CAdapters when caches enabled (KT-47828 fixed)
2021-11-02 12:04:38 +00:00
Elena Lepilkina
d8b456e8b6
[K/N] Rework code generation for exception handler
2021-11-02 12:04:37 +00:00
Elena Lepilkina
cde51ecc3a
[K/N] Added function SetCurrentFrame to use in unwind block
2021-11-02 12:04:37 +00:00
Sergej Jaskiewicz
42c213d950
[JS IR] Explicitly convert Long values to String in string concatenation
...
#KT-39891 Fixed
2021-11-02 10:42:28 +00:00
Konstantin Tskhovrebov
a9f850dac0
Refactor FatFrameworkTask: use FrameworkDescriptor instead Framework.
...
for independence from module compilation.
2021-11-02 06:18:25 +00:00
Jinseong Jeon
c3c79b874d
FIR IDE: make constant evaluator robust to arithmetic exception
2021-11-01 22:50:47 +01:00
Mads Ager
e5bff514b6
FIR2IR: Fix line number differences in try block
2021-11-01 23:59:59 +03:00
Jinseong Jeon
5aa8e2d0d1
FIR LC: fix nullable annotation on return type of suspend function
2021-11-01 19:19:39 +01:00
Jinseong Jeon
5880d80d26
FIR LC: add support for inline class
2021-11-01 19:17:26 +01:00
Jinseong Jeon
0e7d1b3945
FIR LC: refactor creation of property accessors
2021-11-01 19:17:26 +01:00
Jinseong Jeon
95a3e81098
LC: remove unnecessary referential equality check and semicolon in inline class
2021-11-01 19:17:25 +01:00
Sergey Igushkin
05822c59b5
Fix Android Lint dependency resolution issues (KT-49483)
...
Android Gradle plugin resolves the *Classpath configurations in an
artifact view with an artifactType attribute set, which should
give a resolved variant with a different `org.gradle.category`
attribute. With `org.gradle.category=library` set by the Kotlin
Gradle plugin, that couldn't work.
To fix this, don't set the `org.gradle.category` attribute on the
Android resolvable configurations.
TODO: Add integration tests!
2021-11-01 14:57:50 +00:00
Vladimir Dolzhenko
eaff4c6026
Reset elementFinders on clearPackageCaches()
...
Clean up references on a plugin unload to avoid class leakage
Relates to #KT-49475
Merge-request: KT-MR-4891
2021-11-01 14:21:15 +00:00
Ilya Goncharov
2584f45b1c
[JS IR] Refactor export model generator
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:24 +00:00
Ilya Goncharov
9fdb0a23cd
[JS IR] Add literal and union types to TS generation, support them for enum
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:24 +00:00
Ilya Goncharov
4fa2fa6c26
[JS IR] Export name and ordinal for enum classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:24 +00:00
Ilya Goncharov
a31a6c5117
[JS IR] Fix conflict with master
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:23 +00:00
Ilya Goncharov
8e5fb50506
[JS IR] Fix diagnostic test on exportness of enum classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:23 +00:00
Ilya Goncharov
993b194a7b
[JS IR] Actualize JS files according to TS tests
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:22 +00:00
Ilya Goncharov
69f6dc059d
[JS IR] Export type for enum class and not extends kotlin.Enum in TS
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:22 +00:00
Ilya Goncharov
817e3dc306
[JS IR] Add TypeScript export tests for enum class
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:21 +00:00
Ilya Goncharov
cd1296309f
[JS IR] Add constructor parameter to test and values, valueOf methods
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:21 +00:00
Ilya Goncharov
9bd44e01f5
[JS IR] Export enum members like from usual classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:20 +00:00
Ilya Goncharov
42cb0e60d7
[JS IR] Process enum classes correctly in export model generator
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:20 +00:00
Ilya Goncharov
025e335b0f
[JS IR] Add more granularity to find enum related declarations
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:20 +00:00
Ilya Goncharov
c7bec4c6c4
[JS IR] Allow to export enum classes
...
^KT-37916 fixed
^KT-44494 fixed
2021-11-01 13:28:19 +00:00
Ilya Goncharov
196dc6b071
[JS IR] Add test for enum exportness
...
^KT-44494 fixed
2021-11-01 13:28:19 +00:00
Mads Ager
41aa0a7c7f
[FIR] Fix line number differences between psi2ir and fir2ir.
2021-11-01 15:43:13 +03:00
Mads Ager
8a8c38cc48
[FIR] Enable stepping tests.
2021-11-01 15:43:08 +03:00
Mikhael Bogdanov
2258e26799
Fix INTERFACE_CANT_CALL_DEFAULT_METHOD_VIA_SUPER diagnostic in IDE
2021-11-01 13:30:58 +01:00
Mikhael Bogdanov
40158d1ce6
Update -Xjvm-default description
2021-11-01 13:30:58 +01:00
Mikhael Bogdanov
00d344d92a
Update INTERFACE_CANT_CALL_DEFAULT_METHOD_VIA_SUPER message
2021-11-01 13:30:57 +01:00