pyos
a15a5aa429
JVM_IR: generate instance fields even when reification is needed
...
The inliner supports that, we just need to generate the reification
markers on GETFIELD to instance fields.
2021-08-23 14:27:51 +02:00
pyos
07cb3a5ff8
JVM: do not reify methods of objects in lambdas
...
All type parameters used in them are not from the inline function
anyway.
2021-07-14 10:11:05 +02:00
Dmitriy Novozhilov
df60e7368a
[Test] Fix syntax errors in few boxInline tests
2021-05-19 00:52:24 +03:00
pyos
3fc2cc410c
JVM_IR: propagate reified type parameter usages from inline lambdas
...
...to whichever class they are inlined into, not the class they are
declared in (which is not the same if the lambda is crossinline).
#KT-46584 Fixed
2021-05-12 15:09:35 +03:00
Mikhael Bogdanov
84e67da2af
Mute test on JDK 6
2021-04-30 18:24:10 +02:00
Mikhael Bogdanov
95d95f9a9b
Put reification markers came from super object signature
...
#KT-44770 Fixed
#KT-30696 Open
2021-04-30 17:34:16 +02:00
Alexander Udalov
21e9bd7ea2
Add regression tests for obsolete issues
...
#KT-9304
#KT-14961
#KT-16549
#KT-21080
#KT-28234
#KT-30102
#KT-31994
#KT-34291
#KT-38099
#KT-41174
#KT-44622
#KT-44701
#KT-44781
#KT-44849
#KT-44978
#KT-45081
#KT-45286
#KT-45383
#KT-45444
#KT-45907
2021-04-20 21:24:29 +02:00
Dmitriy Novozhilov
606ae45f5f
[Test] Replace remaining KOTLIN_CONFIGURATION_FLAGS directives with specific ones
2021-02-10 13:02:06 +03:00
Dmitriy Novozhilov
4bf6e58f2b
[TD] Fix directive order in codegen testdata
2021-02-02 20:37:47 +03:00
Dmitriy Novozhilov
64a300bfcd
[TD] Update testdata according to previous commit
2021-02-02 17:53:52 +03:00
Mikhael Bogdanov
c13f38f6df
Support proper frame maps for enumValues
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
1a044e5af4
Support proper frame maps for enum valueOf
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
16928d6e3f
Don't remove checkcast for reified values
...
#KT-35511 Fixed
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
91717cdcdd
Perform inline checks in IR tests
2021-01-20 15:23:09 +01:00
Igor Chevdar
23d12a717e
[box-tests] Added a test
2020-10-23 14:22:48 +05:00
Pavel Punegov
4d8ca074bc
Ignore test for the full reflection in Native
2020-10-07 12:18:09 +03:00
Alexander Udalov
b8d16f3d46
Add EnclosingMethod information to bytecode listing tests
2020-09-02 16:46:05 +02:00
Alexander Udalov
5e48be3d11
Add a fallback flag -Xno-unified-null-checks for KT-22275
...
#KT-41482 Fixed
2020-08-31 12:43:28 +02:00
Dmitry Petrov
89a0b3e944
Check class source in bytecode listing tests
2020-07-27 19:13:37 +03:00
Alexander Udalov
b94a4d9fc3
Render more information on inner classes in bytecode listing tests
2020-06-29 17:33:39 +02:00
Dmitry Petrov
2137a4b1e5
JVM, JVM_IR: no nullability annotations on private and synthetic methods
...
NB it looks like it doesn't cover all cases, e.g., some synthetic
methods generated for suspend functions.
2020-06-26 18:51:35 +03:00
Vitaly
fe047f9b47
[JS BE] mutes tests for JS_IR_ES6, which muted for JS_IR
2020-05-27 00:32:56 +03:00
Mikhail Bogdanov
dec93c8b49
Add ANDROID target
2020-04-14 13:53:22 +02:00
pyos
186302d84e
JVM_IR: restore InnerClasses for objects in lambdas
2020-03-19 15:23:44 +01:00
pyos
d06c87207c
Dump class structure in a test that has an object in a lambda
2020-03-19 15:11:20 +01:00
Zalim Bashorov
179ec41a6b
[JS BEs] Generate tests for whole "codegen/boxInline"
2020-03-12 17:22:33 +03:00
pyos
2f0f4e570f
JVM_IR: do not remap locals in contexts nested inside lambdas
...
The only case where this code is reachable at all is objects in lambdas
that use reified type parameters of the outer inline function. Since the
type parameters are declared outside the inlining root, regenerating the
object is actually pointless, and remapping its captures even more so
(not to mention that the code under the condition uses the captures of
the lambda, not of the method it's currently transforming).
2020-01-22 15:36:09 +01:00
Alexander Udalov
99294cfdae
Minor, fix test data
...
TypeCastException was unresolved after an accidental change in
f48bdc1fcb .
2020-01-21 11:26:21 +01:00
Alexander Udalov
f48bdc1fcb
Fix codegen box tests for language version 1.4
...
Since API version 1.4, NullPointerException is thrown for casts of null
to any type instead of TypeCastException.
2020-01-20 19:12:59 +01:00
Mikhael Bogdanov
03c2350e79
Keep original casts during reification to avoid VerifyError
...
#KT-26435 Fixed
2019-12-17 12:41:22 +01:00
Mikhael Bogdanov
ac31e0e8c7
Support default lambda inlining in IR
2019-11-20 12:57:36 +01:00
pyos
d3992826e4
JVM_IR: discard parameter annotations in anonymous object constructors
2019-10-14 14:54:44 +02:00
Alexander Udalov
bd8ea9412d
JVM IR: implement MethodSignatureMapper.mapFunctionName directly
2019-09-16 14:57:20 +02:00
Georgy Bronnikov
7ede26e8f4
IrCompileKotlinAgainstInlineKotlin tests
2019-09-06 09:19:57 +03:00
Steven Schäfer
ac667403ef
(Un)mute and add tests for vararg codegen
2019-08-13 14:24:55 +02:00
Mikhael Bogdanov
47bee6a6c5
JVM_IR. Support reified parameters in anonymous object super constructor call
2019-08-06 14:48:16 +02:00
Mikhael Bogdanov
645736f167
JVM_IR. Support anonymous object/lambda reification
2019-08-06 14:48:16 +02:00
Mikhael Bogdanov
971d36837a
JVM_IR. Don't generate annotations and signature on synthetic methods
2019-08-05 15:00:51 +02:00
Mikhael Bogdanov
007af75e1e
Properly calculate call site file in JVM IR inliner
2019-05-21 07:42:16 +02:00
pyos
4d9661890a
Test reification of type parameters into Array(size, init)
...
(cherry picked from commit 6daa61ef5f )
2019-05-09 11:54:43 +02:00
max-kammerer
8560459dc6
Revert "Test reification of type parameters into Array(size, init)"
...
This reverts commit 6daa61ef5f .
2019-05-09 11:49:34 +02:00
pyos
6daa61ef5f
Test reification of type parameters into Array(size, init)
2019-05-09 08:03:18 +02:00
pyos
90f11211d3
JVM_IR: wrap performInline in enterIntoInlining/exitFromInliningOf
2019-05-06 16:23:28 +02:00
Mikhael Bogdanov
4c59d161d4
Support basic reification in IR
2019-04-08 13:10:22 +02:00
Mikhael Bogdanov
f7ce8c18c6
Add tests for Obsolete issues
...
#KT-18977 Obsolete
2019-01-09 10:20:54 +01:00
Mikhael Bogdanov
9a059809bf
Add test for Obsolete issues
...
#KT-15956 Obsolete
#KT-15751 Obsolete
#KT-16417 Obsolete
#KT-21787 Obsolete
2019-01-08 13:52:47 +01:00
Mikhael Bogdanov
3ef06c1e44
Specify JVM target backend for test with 'import java...'
2018-12-21 16:09:06 +01:00
Mikhael Bogdanov
f36519d4f5
Specify JVM target backend for test with '.javaClass' usage
2018-12-21 16:09:05 +01:00
Mikhael Bogdanov
1217d3591b
Specify JVM target backend for test with '::class.java' usage
2018-12-21 16:09:04 +01:00
Alexander Udalov
9b6a52ccba
Remove LANGUAGE_VERSION from boxInline tests
2018-12-20 12:53:22 +01:00