[Common IR] Do inlining of callable references of inline functions
^KT-52805 Fixed
This commit is contained in:
committed by
Space
parent
3424e756ad
commit
bb8da65188
@@ -14,10 +14,7 @@ public fun <T, R> apply(x: T, fn: (T)->R): R =
|
||||
|
||||
import utils.*
|
||||
|
||||
// CHECK_CONTAINS_NO_CALLS: test except=imul TARGET_BACKENDS=JS
|
||||
|
||||
// FIXME: Not inlined on IR BE
|
||||
// CHECK_CONTAINS_NO_CALLS: test except=multiplyBy2 IGNORED_BACKENDS=JS
|
||||
// CHECK_CONTAINS_NO_CALLS: test except=imul
|
||||
|
||||
internal inline fun multiplyBy2(x: Int): Int = x * 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user