[JS IR] Add compiler argument about lazy initialisation

^KT-43222 fixed
This commit is contained in:
Ilya Goncharov
2020-11-16 18:26:52 +03:00
parent fcb3ee5e45
commit a2d41b86bf
5 changed files with 25 additions and 2 deletions
@@ -125,6 +125,9 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xir-dce-print-reachability-info", description = "Print declarations' reachability info to stdout during performing DCE")
var irDcePrintReachabilityInfo: Boolean by FreezableVar(false)
@Argument(value = "-Xir-property-lazy-initialisation", description = "Perform lazy initialisation for properties")
var irPropertyLazyInitialisation: Boolean by FreezableVar(false)
@Argument(value = "-Xir-only", description = "Disables pre-IR backend")
var irOnly: Boolean by FreezableVar(false)