Roman Artemev
31f3e668d2
[IR SERIALIZATION] Cleanup mangler interface
2019-09-03 14:21:31 +03:00
Roman Artemev
2e0ab8ba3f
[IR SERIALIZATION] Fix ONLY_DECLARATION_HEADERS mode
2019-09-03 14:21:31 +03:00
Roman Artemev
0c7454c918
[IR SERIALIZATION] Fix forward Declarations in deserializaer
2019-09-03 14:21:31 +03:00
Roman Artemev
2bd3d90fe0
[IR SERIALIZATION] Link depend modules lazily
2019-09-03 14:21:31 +03:00
Roman Artemev
aa8b58e396
[IR SERIALIZATION] Get rid of UniqIdKey
2019-09-03 14:21:31 +03:00
Roman Artemev
aa313903cc
[IR SERIALIZATION] Support both Per-File and Monolitic klib layout
2019-09-03 14:21:30 +03:00
Roman Artemev
125982841a
[IR SERIALIZATION] Fix clashes
2019-09-03 14:21:30 +03:00
Roman Artemev
55f06ecff5
[IR SERIALIZATION] Fix rebase
2019-09-03 14:21:30 +03:00
Roman Artemev
16be3b6d6e
[IR SERIALIZATION] Add deserializaFullModule API
2019-09-03 14:21:30 +03:00
Roman Artemev
d9affc5abb
[IR SERIALIZATION] Raname IrIrSeriazlizedIrFile -> SerializedIrFile
2019-09-03 14:21:30 +03:00
Roman Artemev
f6339bcf93
[IR SERIALIZATION] Handle UniqId clashes
2019-09-03 14:21:30 +03:00
Roman Artemev
5e14b94a88
[IR SERIALIZATION] Do not track non-metadata descriptors in descriptor table
2019-09-03 14:21:30 +03:00
Roman Artemev
df5f6a2a12
[IR SERIALIZATION] Refactored uniqId allocation
...
- split DeclarationTable into local and global one
- minimize usages of kotlin mangler
- clean up interfaces
2019-09-03 14:21:30 +03:00
Roman Artemev
19b5d57f0e
[IR PROTO] Delete unused proto.java files
2019-09-03 14:21:30 +03:00
Roman Artemev
b7b951c8c8
[IR] Refactoring
2019-09-03 14:21:30 +03:00
Roman Artemev
ea42eb6a5c
[IR] Fix rebase
2019-09-03 14:21:29 +03:00
Roman Artemev
d50eb5ce52
[IR SERIALIZATION] Make [de]serialization processes incremental
...
- Use local uniqID local indexation file-local
- Rethink the way declaration is looked for
- Store in public file index only publicly accessible symbols
- refactor API
- code clean up
2019-09-03 14:21:29 +03:00
Roman Artemev
96a2cc1f17
[JS IR] Clean up Declaration Table code
2019-09-03 14:21:29 +03:00
Roman Artemev
f14107bf65
[IR] Sort dependencies a bit early
2019-09-03 14:21:29 +03:00
Roman Artemev
1465121266
[IR] Split declaration & descriptor tables
2019-09-03 14:21:29 +03:00
Roman Artemev
a7714a5589
[JS IR BE] Split IrModule/IrFile serializers
2019-09-03 14:21:29 +03:00
Roman Artemev
15a49cf2aa
[IR BE] Rename IrModuleSerializer -> IrFileSerializer
2019-09-03 14:21:29 +03:00
Roman Artemev
94a03c9cb4
[IC KLIB] Serialization infrastructure refactoring
...
- remove IrModule header
- put IrDeclaration and its body into separate files
- use only one type of IrData index
- separate deserialization of declarations and its bodies
- introduce FqName message
2019-09-03 14:21:29 +03:00
Roman Artemev
5a45960c04
[IR] Do not interact with file system during Ir Serialization
...
- make `IrModuleSerializer` produce ByteArrays with serialized data
- isolate file system access on Klib writer
2019-09-03 14:21:28 +03:00
Mads Ager
85b1e0165b
[IR] For loop lowering for CharacterSequence.indices.
2019-09-03 13:18:21 +02:00
Nikolay Krasko
63f43d9b2e
Revert "Use lazySync instead of lazyPub to avoid raise on creation LightClasses"
...
The commit causes deadlock in 183 branch in KotlinLintTestGenerated test.
This reverts commit d6c54b84
2019-09-03 12:42:56 +03:00
Dmitry Gridin
d0c02a1a34
PackageDirectoryMismatchInspection: fix exception from empty script file
...
#KT-33437 Fixed
2019-09-03 16:20:40 +07:00
Steven Schäfer
102a3d60e0
IR: Consistently copyAttributes in DeepCopyIrTreeWithSymbols
...
This was missing for IrFunctionReferences, which caused problems when
copying default parameters before CallableReferenceLowering in the
JVM_IR backend.
2019-09-02 19:55:36 +02:00
Darya Razumova
5fc6fa8619
Unregistered bunch directives and files test
2019-09-02 18:31:06 +03:00
Darya Razumova
412c562572
Updated switch usage in README
2019-09-02 18:31:06 +03:00
Nikolay Krasko
4dc4acd25f
Move CoroutineNonBlockingContextChecker to common code
2019-09-02 18:31:06 +03:00
Igor Yakovlev
79a603768a
UltraLight implementation for local and anonymous declarations
2019-09-02 17:42:50 +03:00
Vladimir Dolzhenko
d6c54b845b
Use lazySync instead of lazyPub to avoid raise on creation LightClasses
2019-09-02 15:30:08 +02:00
Nikolay Krasko
b856d60575
Add required plugins for Android Studio 3.6 to runtime
2019-09-02 15:14:32 +03:00
Nikolay Krasko
a6fb2bd7a7
Update to AS 3.6.0.9
2019-09-02 15:14:32 +03:00
Yanis Batura
a65967a164
Mention the master branch as the target of pull requests in contributing.md. ( #2533 )
...
Also, improve grammar a bit in the same guide.
2019-09-02 14:54:31 +03:00
Mikhail Glukhikh
7eac7d96dc
Fix NJ2K test related to KT-30136
2019-09-02 12:57:53 +03:00
Dmitriy Novozhilov
5b118b65fc
[FIR] Tests. Update testdata broken in 9508fc60
2019-09-02 11:13:27 +03:00
Dmitriy Novozhilov
54eb4cf928
[FIR] Add synthetic else branch to when if it's missing to LightTreeFirBuilder
2019-09-02 11:12:35 +03:00
Dmitriy Novozhilov
5c29af4b53
[FIR] Tests. Update some outdated FIR testdata
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
f494e0008c
[FIR] Minor. Add kdoc to FirDataFlowAnalyzer
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
286a322b55
[FIR] Remove DummyFirDataFlowAnalyzer
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
92acd30bd6
[FIR] Refactor Condition classes
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
84787013dd
[FIR] Fix CFG form for boolean operators
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
63bd920f16
[FIR] Tests. Make cfg graphs more strict
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
a87891bec9
[FIR] Some control flow graph building fixes
...
- fix edges for `continue` and labeled return
- fix deadness for init block and properties
2019-09-02 10:43:10 +03:00
Dmitriy Novozhilov
9508fc60c9
[FIR] Remove FirUncheckedNotNullCastImpl from FIR
2019-09-02 10:43:09 +03:00
Dmitriy Novozhilov
c2602fda1f
[FIR] Transform all qualified access nodes with smartcasts
2019-09-02 10:43:09 +03:00
Dmitriy Novozhilov
c1a8344b45
[FIR] Add forgotten nullability for receivers of safe calls
2019-09-02 10:43:09 +03:00
Dmitriy Novozhilov
fd84202c08
[FIR] Add fir node for qualified access with smartcast
2019-09-02 10:43:09 +03:00