Commit Graph

25486 Commits

Author SHA1 Message Date
Alexey Tsvetkov d9e9f11028 Remove duplicating simple test case 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 5d305a7286 Add test for inline function lines changed only 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 8d1480e877 Add incremental compilation inline call site tests 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 61423a19f0 Fix incremental compilation of inline call assigned to val 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov a660562743 Pass keyDescriptor to BasicMap using constructor 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov af144883dc Minor: make BasicStringMap properties parameters 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 06774423e0 Minor: remove unnecessary 'open' modifiers 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov ed5dcf2182 Simplify getting class file path for functions from current module 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 08a11b627c Update INCREMENTAL_CACHE_OWN_VERSION 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 3d9d6d356b Simplify InlineFunctionsFilesMap 2015-09-08 05:49:33 +03:00
Alexey Tsvetkov 21b6b41112 Rename hasInlineTo->inlinedTo 2015-09-08 05:49:33 +03:00
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