Hello, can someone tell me how Kotlin inline funct...
# compiler
t
Hello, can someone tell me how Kotlin inline functions that are not in the same module? Does it rely only on the bytecode? And in what compiler step does it happen? I am trying to read the source code but I am having trouble to find it. I saw that functions of other modules are represented by Fir2IrLazySimpleFunction, but I can't find where the inline happens.
u
Yes, it uses bytecode. IrInlineCodegen (and its superclass) is the entrypoint to bytecode inliner.