[JS IR] IC improvements
- Reuse a built fragment - Use cache for saving built JS code
This commit is contained in:
committed by
Space
parent
f8ae097e50
commit
9952d43252
@@ -1,2 +1,9 @@
|
||||
|
||||
fun box() = qux()
|
||||
fun box(stepId: Int): String {
|
||||
when (stepId) {
|
||||
0 -> if (qux() != 42) return "Fail"
|
||||
1 -> if (qux() != 99) return "Fail"
|
||||
else -> "Unknown"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1, lib2
|
||||
dirty: m.kt
|
||||
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib2
|
||||
|
||||
Reference in New Issue
Block a user