[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
@@ -7,6 +7,4 @@ STEP 2:
modifications:
U : l1.2.kt -> l1.kt
modified ir: l1.kt
STEP 3:
removed file: l1.kt
STEP 4..5:
STEP 3..5:
@@ -2,9 +2,7 @@ STEP 0:
modifications:
U : l1.0.kt -> l1.kt
added file: l1.kt
STEP 1:
removed file: l1.kt
STEP 2:
STEP 1..2:
STEP 3:
modifications:
U : l1.3.kt -> l1.kt
@@ -3,13 +3,13 @@ STEP 0:
added file: m.kt
STEP 1:
dependencies: lib1-new
removed direct depends: m.kt
added file: m.kt
STEP 2:
dependencies: lib1-new
updated imports: m.kt
STEP 3:
dependencies: lib1
removed direct depends: m.kt
added file: m.kt
STEP 4..5:
dependencies: lib1
updated imports: m.kt