[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
Vendored
+8
-1
@@ -1,2 +1,9 @@
|
||||
|
||||
fun box() = dex(4, 2)
|
||||
fun box(stepId: Int): String {
|
||||
when (stepId) {
|
||||
0 -> if (dex(4, 2) != 11) return "Fail"
|
||||
1 -> if (dex(4, 2) != 18) return "Fail"
|
||||
else -> return "Unknown"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
|
||||
js/js.translator/testData/incremental/invalidation/moveInlineFunctionBetweenModules/main/module.info
Vendored
+1
-5
@@ -1,7 +1,3 @@
|
||||
STEP 0:
|
||||
STEP 0..1:
|
||||
dependencies: stdlib, lib1, lib2, lib3
|
||||
dirty: m.kt
|
||||
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib1, lib2, lib3
|
||||
dirty: m.kt
|
||||
Reference in New Issue
Block a user