-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[K/N] Introduce
RuntimeInitializer
type in the code generation
Kotlin/Native runtime has a concept of `Initializer` (see the type declaration in `Runtime.h`). The code generator generates functions of this type. But the implementation is convoluted, with many different things called "init" or "initializer". This commit encapsulates `Initializer` functions to the new `RuntimeInitializer` type in the code generator, making the implementation easier to reason about. ^KT-74764
- Loading branch information
1 parent
28fcf22
commit b23da31
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters