Steven Schäfer
304700cf7b
JVM IR: Add all relevant overridden symbols to generated bridge methods
2020-02-07 18:44:50 +03:00
Steven Schäfer
951b2fa770
JVM IR: Optimize type checks to null checks if possible
2020-02-07 18:44:50 +03:00
Steven Schäfer
07737f8fc6
JVM IR: Fix BridgeLowering
2020-02-07 18:44:50 +03:00
Steven Schäfer
461d8ef368
Add renaming special bridges to SpecialBridgeMethods
2020-02-07 18:44:50 +03:00
Steven Schäfer
5f6af58aeb
JVM IR: (Un)mute tests and add more tests for bridge generation
2020-02-07 18:44:50 +03:00
Steven Schäfer
12e31a1760
JVM IR: Use dispatchReceiver to calculate owner in MethodSignatureMapper
2020-02-07 18:44:50 +03:00
Steven Schäfer
0e243ca295
JVM IR: Fix receiver types in AddContinuationLowering
2020-02-07 18:44:50 +03:00
Steven Schäfer
a4414829bc
JVM IR: Fix dispatch receiver type in ResolveInlineCalls
2020-02-07 18:44:50 +03:00
Steven Schäfer
f46ad10266
JVM IR: Fix dispatch receiver type in InheritedDefaultMethodsOnClassesLowering
2020-02-07 18:44:50 +03:00
Steven Schäfer
edd0ac6c6f
JVM IR: Fix types of temporaries in AddContinuationLowering
2020-02-07 18:44:50 +03:00
Steven Schäfer
30166b20b7
JVM IR: Fix dispatch receiver types in FunctionNVarargBridgeLowering and ReplaceKFunctionInvokeWithFunctionInvoke
2020-02-07 18:44:50 +03:00
Steven Schäfer
66cbe3b1a8
JVM IR: Remove IrReplacementFunction
2020-02-07 18:44:50 +03:00
Steven Schäfer
73b4f897b6
JVM IR: Fix modalities in JvmSymbols
2020-02-07 18:44:50 +03:00
Vladimir Dolzhenko
cfcdf05c92
Fix documentListener leakage in PluginStartupActivity
...
Relates to #KT-35918
2020-02-07 16:34:28 +01:00
Pavel Kirpichenkov
fee72839bf
Report error if IR is enabled with incorrect language version
...
^KT-36338 Fixed
2020-02-07 16:10:03 +03:00
Alexander Udalov
feccf9cc1b
Remove dependency of fir.tree on ir.tree
2020-02-07 13:02:11 +01:00
Ilya Matveev
10d2eebe28
Gradle, native: Fix running cinterop on Windows hosts
2020-02-07 18:51:07 +07:00
Mark Punzalan
8cdef13537
[JVM IR] Add tests to verify correct parameter reflection metadata for
...
suspend functions.
2020-02-07 12:24:13 +01:00
pyos
06408011f0
JVM_IR: prefer to move, not copy, suspend lambda bodies
...
Copying breaks reflection metadata.
2020-02-07 12:16:26 +01:00
pyos
5acb3e14fb
IR: mark parameters for captures of crossinline parameters
2020-02-07 12:16:26 +01:00
pyos
2bf50cc91a
JVM_IR: correctly name $$forInline versions of @JvmName suspend funs
...
Using a hack similar to $default stubs.
2020-02-07 12:16:26 +01:00
pyos
08074bb60e
JVM_IR: wrap inline suspend references in suspend lambdas
2020-02-07 12:16:26 +01:00
Mikhail Glukhikh
c34d2f9daa
[FIR] Fix signature calculation in JvmMappedScope
2020-02-07 13:04:21 +03:00
Mikhail Glukhikh
0c195be513
[FIR TEST] Add test with MutableMap.compute
2020-02-07 13:04:10 +03:00
Mikhail Glukhikh
2fb508aa1b
[FIR] Fix DFA behaviour for a case with == (!=) true / false
2020-02-07 13:04:07 +03:00
Mikhail Glukhikh
36ba8bf6a9
[FIR] Add test imitating complex smart casts on descriptors
2020-02-07 13:04:06 +03:00
Mikhail Glukhikh
a8e89a6390
[FIR] Fix various corner cases in DFA
2020-02-07 13:03:43 +03:00
Mikhail Glukhikh
1344d6407c
[FIR] DFA fix: imply != null after x as? NotNullType for real variables
2020-02-07 13:03:41 +03:00
Mikhail Glukhikh
1bbcec4935
[FIR] DFA fix after x?.syntheticProperty ?: return
2020-02-07 13:03:41 +03:00
Mikhail Glukhikh
d23c03e9dc
[FIR] Add test about synthetic / non-synthetic smart casts
2020-02-07 13:03:40 +03:00
Mikhail Glukhikh
9f9d53cc5a
[FIR] Fix handling of scope emptiness in case of synthetic properties
2020-02-07 13:03:40 +03:00
Denis Zharkov
c8c0ba480b
FIR: Add problem tests for smart cast within init-section
2020-02-07 12:18:40 +03:00
Dmitry Petrov
3518fcf78c
Fix psi2ir tests broken by 7249d2f889
2020-02-07 10:50:56 +03:00
Dmitry Petrov
a1326d3ef5
!RENDER_DIAGNOSTICS_FULL_TEXT directive
...
Compares diagnostics rendered as text with corresponding .diag.txt file
2020-02-07 10:50:56 +03:00
Dmitry Petrov
4e6c3b6b43
Diagnostics tests with JVM backend
2020-02-07 10:50:56 +03:00
Vladimir Dolzhenko
a17027e330
Fixed incompatibility with 191 and 192
...
Fixed #KT-35918
2020-02-06 22:49:08 +01:00
Anton Bannykh
5605eb5a31
Review fix: add TODO comments
2020-02-06 21:03:41 +03:00
Anton Bannykh
70a4c265de
Add tests extracted from regressions
2020-02-06 21:03:41 +03:00
Anton Bannykh
1e96c3d21e
DCE-driven mode
...
:js:js.tests:jsIrTest works same as before
:js:js.tests:jsPirTest runs tests in DCE-driven mode
2020-02-06 21:03:41 +03:00
Anton Bannykh
571bbba0e3
Change DCE a bit to touch less declarations
2020-02-06 21:03:40 +03:00
Anton Bannykh
f07fb91e9d
Simple stage layers + enforce model
2020-02-06 21:03:40 +03:00
Anton Bannykh
f437da8ee5
Persistent IR implementation
2020-02-06 21:03:40 +03:00
Anton Bannykh
4c4b0ef013
Suspend Functions
...
2 tests muted due to duplicate variables found by the validator
If memory serves:
- there is a `suspend inline fun` and a callable reference to it
- the suspend function doesn't remove the original function in this
case anymore
- the duplicate `var`'s are inside the function body and the
callable reference state machine body
2020-02-06 21:03:40 +03:00
Anton Bannykh
94d2a79d2e
FoldConstantLowering
2020-02-06 21:03:40 +03:00
Anton Bannykh
0efe2ab00a
PropertyAccessorInlineLowering
2020-02-06 21:03:40 +03:00
Anton Bannykh
6e501e5f9b
AnnotationConstructorLowering
2020-02-06 21:03:40 +03:00
Anton Bannykh
d76bfdf860
Enums
2020-02-06 21:03:39 +03:00
Anton Bannykh
3165556c6b
PrivateMembersLowering
2020-02-06 21:03:39 +03:00
Anton Bannykh
f6d4ea469c
PrimaryConstructorLowering
2020-02-06 21:03:39 +03:00
Anton Bannykh
76ff30b86e
ObjectLowering
2020-02-06 21:03:39 +03:00