[JS IR] IC invalidation performance improvements

- Cache signature readers and deserializers
 - Cache inline function hashes
 - IC refactoring
 - [gradle] Use hash of module path for cache dir; Fix KT-51238

^KT-51238 Fixed
This commit is contained in:
Alexander Korepanov
2022-02-10 12:23:24 +03:00
committed by Space
parent 290a06676d
commit 43a0876c26
22 changed files with 315 additions and 257 deletions
@@ -0,0 +1 @@
fun qux() = 42
@@ -0,0 +1,6 @@
STEP 0:
dependencies: stdlib
dirty: l1.kt
STEP 1:
dependencies: stdlib
flags: FP
@@ -0,0 +1,2 @@
fun box() = qux()
@@ -0,0 +1,2 @@
fun box() = qux() + 88
@@ -0,0 +1,2 @@
fun box0() = qux()
@@ -0,0 +1,2 @@
fun box1() = qux()
@@ -0,0 +1,9 @@
STEP 0:
dependencies: stdlib, lib1
dirty: m.kt, m0.kt, m1.kt
STEP 1:
dependencies: stdlib, lib1
modifications:
U : m.kt.1.txt -> m.kt
dirty: m.kt
@@ -0,0 +1,7 @@
MODULES: lib1, main
STEP 0:
libs: lib1, main
STEP 1:
libs: lib1, main