[JS IR IC] Drop incremental cache after updating a klib set

Enabled Partial Linkage may replace entire IR expressions with a stub
during klib linking and loading. This may break the incremental cache
dependency graph. Dropping incremental cache files after updating klibs
(e.g. update klib version) covers almost all cases which
could not be tracked due to a broken dependency graph.

This patch could be reverted after fixing KT-57347
This commit is contained in:
Alexander Korepanov
2023-04-14 15:22:03 +02:00
committed by Space Team
parent c9badd14a7
commit 980d83eccd
22 changed files with 54 additions and 32 deletions
@@ -1,7 +1,13 @@
STEP 0:
dependencies: lib1, lib2
added file: m.kt
STEP 1..3:
STEP 1:
dependencies: lib1-a, lib1-b, lib1-c, lib2
STEP 4..5:
added file: m.kt
STEP 2..3:
dependencies: lib1-a, lib1-b, lib1-c, lib2
STEP 4:
dependencies: lib1, lib2
added file: m.kt
STEP 5:
dependencies: lib1, lib2