Commit Graph

25475 Commits

Author SHA1 Message Date
Alexey Tsvetkov 06bfc5a16b Update inline incremental compilation for compile daemon 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov f25c10c4a1 Recompile everything if new function is added 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 43bcc4a6a6 Get rid of RecompilationDecision enum 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 8cc2e0f68d Always use class file as inline fun source 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov f9fe01047d Fix incremental packages 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov b25dfabbcc Fix modules tests 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 0988b21e9c Use both target name and target type to get incremental cache from backend 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 18dc752c21 Implement hashCode and equals for Module 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 5f05f0d678 Move Module to util method 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov e90ecc48c5 Save target type in Kotlin Builder 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov b36c841b6e Use package facade name to search in dependent modules 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 44e13dd697 Add another package part with inline to multi-module inline test 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 12ebe4426c Add file without inline call to multi module test 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 46d3afaeba Use package facade internal name when processing changed inline functions 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 9a29750d0e Remove unused parameter 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 10a330f67a Recompile files depending on changed inline function between modules 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 2afaa82b57 Pass incrementalCaches as a doBuild parameter 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov a3145bc798 Flush incremental caches after each test run 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov 039026ccdd Save class files as inline call source too 2015-09-08 05:49:31 +03:00
Alexey Tsvetkov bde78c2df2 Extract BasicMap from IncrementalCacheImpl 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 47019dd51f Pass BasicMap storageFile using constructor
It makes possible to extract BasicMap outside of IncrementalCacheImpl
and use it for some maps, that share between build targets
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 80094605eb Move persistent map parameters to constructor 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov cf35be90aa Fix value dump for incremental caches 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov e0419f956e Recompile only files that call changed inline functions 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov dfa5a420e6 Generalize InlineFunctionsMapExternalizer 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov f0d7ee4cdf Save changed functions to incremental cache 2015-09-08 05:49:30 +03:00
Alexey Tsvetkov f2295676bf Minor: removed clear method from DirtyOutputClassesMap
It's already has clean method from BasicMap
2015-09-08 05:49:30 +03:00
Alexey Tsvetkov 701585c0b6 Minor: rename SourceToClassesMap#addSourceToClass->add
addSourceToClass is confusing, because in fact
this function is appending to SourceToClassesMap
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 2842b74dd8 Add ClassToSourceMap to incremental caches 2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 52a8fe018b Recompile files dependent on inline relationship
Right now, it's always recompiles dependent files,
even if inline function has not been changed.
2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 64cc75c1ba Save info about inlined calls to incremental caches 2015-09-08 05:49:29 +03:00
Alexey Tsvetkov 32c041d4db Add simple inline incremental compilation test cases 2015-09-08 05:49:29 +03:00
Michael Nedzelsky 44691018ce add explicit types for some top-level public val/var declarations in MapDelegationTest due KT-9072 2015-09-08 02:06:34 +03:00
Michael Nedzelsky 873110c6ea add explicit type for PackagePartProvider.EMPTY in order to avoid compilation error due KT-9072 2015-09-08 02:06:26 +03:00
Michael Nedzelsky e6e6b20885 fix tests in org.jetbrains.kotlin.js.test.semantics for secondary constructors: TODO: fix problem and remove this commit 2015-09-08 02:06:23 +03:00
Michael Nedzelsky f6892580f6 fix tests in org.jetbrains.kotlin.js.test.semantics 2015-09-08 02:06:19 +03:00
Michael Nedzelsky aa44606663 fix tests in org.jetbrains.kotlin.checkers (related to KT-9072) 2015-09-08 02:06:16 +03:00
Michael Nedzelsky 7c1758a8d3 fix tests in org.jetbrains.kotlin.idea.debugger.evaluate 2015-09-08 02:06:13 +03:00
Michael Nedzelsky 165e6a9100 fix tests in org.jetbrains.kotlin.serialization.builtins 2015-09-08 02:06:09 +03:00
Michael Nedzelsky 4b9ee88b9a fix tests for java 8 2015-09-08 02:06:05 +03:00
Michael Nedzelsky aaff442f65 fix tests in org.jetbrains.kotlin.idea.structureView 2015-09-08 02:06:02 +03:00
Michael Nedzelsky b9906f842d fix tests in org.jetbrains.kotlin.renderer 2015-09-08 02:05:58 +03:00
Michael Nedzelsky aa8c90893e fix tests in org.jetbrains.kotlin.idea.stubs 2015-09-08 02:05:54 +03:00
Michael Nedzelsky ce77ac4991 fix tests in org.jetbrains.kotlin.idea.refactoring.changeSignature 2015-09-08 02:05:49 +03:00
Michael Nedzelsky daa1ac1918 fix tests in org.jetbrains.kotlin.idea.refactoring.introduce 2015-09-08 02:05:46 +03:00
Michael Nedzelsky 92ca057b4a fix tests in org.jetbrains.kotlin.idea.quickfix 2015-09-08 02:05:41 +03:00
Michael Nedzelsky 32c66914fe fix tests in org.jetbrains.kotlin.idea.highlighter 2015-09-08 02:05:38 +03:00
Michael Nedzelsky fa97b8f91e fix tests in org.jetbrains.kotlin.idea.editor.quickDoc 2015-09-08 02:05:34 +03:00
Michael Nedzelsky c861b036a0 fix tests in org.jetbrains.kotlin.idea.decompiler.textBuilder 2015-09-08 02:05:30 +03:00
Michael Nedzelsky a119a6bbeb fix tests in org.jetbrains.kotlin.idea.decompiler.stubBuilder 2015-09-08 02:05:25 +03:00