[JS IR IC] Calculate symbol hashes on demand
Optimization: often we don't need all hashes for all available symbols. This patch allows the calculation of the symbol hash only on demand. This patch also allows cycles for the inline function dependency graph in the IC infrastructure. Note that the inline function cycles may crash the inliner, however it is not the IC infrastructure responsibility to check the cycles.
This commit is contained in:
committed by
Space Team
parent
bd295df7d0
commit
c502cae437
+7
@@ -0,0 +1,7 @@
|
||||
fun box(stepId: Int): String {
|
||||
val x = funA()
|
||||
if (x != stepId) {
|
||||
return "Fail: $x != $stepId"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
STEP 0:
|
||||
dependencies: lib1
|
||||
added file: m.kt
|
||||
STEP 1..2:
|
||||
dependencies: lib1
|
||||
updated imports: m.kt
|
||||
Reference in New Issue
Block a user