[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
+4
-1
@@ -1,2 +1,5 @@
|
||||
|
||||
fun box() = qux()
|
||||
fun box(): String {
|
||||
if (qux() != 42) return "Fail"
|
||||
return "OK"
|
||||
}
|
||||
|
||||
+4
-1
@@ -1,2 +1,5 @@
|
||||
|
||||
fun box() = qux() + 88
|
||||
fun box(): String {
|
||||
if (qux() != 42) return "Fail qux"
|
||||
return "OK"
|
||||
}
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1
|
||||
dirty: m.kt, m0.kt, m1.kt
|
||||
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib1
|
||||
modifications:
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@ MODULES: lib1, main
|
||||
|
||||
STEP 0:
|
||||
libs: lib1, main
|
||||
|
||||
dirty js: stdlib, lib1, main
|
||||
STEP 1:
|
||||
libs: lib1, main
|
||||
dirty js: main
|
||||
|
||||
Reference in New Issue
Block a user