[JS IR] Fix IC invalidation process when symbols are modified
The patch fixes the cases of IC invalidation when symbols are modified: adding and removing inline, data, in, out, suspend qualifiers. For that purpose an extra hash is used. It is written in a direct dependency graph into an IC cache metadata file. For inline functions a transitive hash is used. For non-inline functions, classes, and others a symbol hash is used. The invalidation routine marks the file as dirty (with 'updated imports' state) if hash is modified. ^KT-51083 Fixed ^KT-51088 Fixed ^KT-51090 Fixed ^KT-51099 Fixed
This commit is contained in:
committed by
Space
parent
644447db84
commit
5b4e9e2966
js/js.translator/testData/incremental/invalidation/moveInlineFunctionBetweenModules/lib2/module.info
Vendored
+1
-1
@@ -7,4 +7,4 @@ STEP 1:
|
||||
U : l22.1.kt -> l22.kt
|
||||
added file: l22.kt
|
||||
updated exports: l22.kt
|
||||
updated inline imports: l2.kt
|
||||
updated imports: l2.kt
|
||||
|
||||
js/js.translator/testData/incremental/invalidation/moveInlineFunctionBetweenModules/lib3/module.info
Vendored
+1
-1
@@ -3,4 +3,4 @@ STEP 0:
|
||||
added file: l3.kt
|
||||
STEP 1:
|
||||
dependencies: lib1, lib2
|
||||
updated inline imports: l3.kt
|
||||
updated imports: l3.kt
|
||||
|
||||
js/js.translator/testData/incremental/invalidation/moveInlineFunctionBetweenModules/main/module.info
Vendored
+1
-1
@@ -3,4 +3,4 @@ STEP 0:
|
||||
added file: m.kt
|
||||
STEP 1:
|
||||
dependencies: lib1, lib2, lib3
|
||||
updated inline imports: m.kt
|
||||
updated imports: m.kt
|
||||
|
||||
Reference in New Issue
Block a user