JVM_IR: introduce modes for IR serialization
Instead of a Boolean flag -Xserialize-ir, use modes: none,inline,all. In "inline" mode, only information needed to deserialize bodies of inline functions is serialized. In the "all" mode, all declarations are serialized completely.
This commit is contained in:
committed by
TeamCityServer
parent
f760cd6736
commit
4caa71538d
+2
-1
@@ -488,9 +488,10 @@ default: `indy-with-constants` for JVM target 9 or greater, `inline` otherwise""
|
||||
|
||||
@Argument(
|
||||
value = "-Xserialize-ir",
|
||||
valueDescription = "{none|inline|all}",
|
||||
description = "Save IR to metadata (EXPERIMENTAL)"
|
||||
)
|
||||
var serializeIr: Boolean by FreezableVar(false)
|
||||
var serializeIr: String by FreezableVar("none")
|
||||
|
||||
@Argument(
|
||||
value = "-Xvalidate-ir",
|
||||
|
||||
Reference in New Issue
Block a user