IR: extract JvmPropertiesLowering out of PropertiesLowering

This commit is contained in:
Alexander Udalov
2020-01-17 19:56:29 +01:00
parent 60da37404e
commit e42a4b2fac
5 changed files with 114 additions and 89 deletions
@@ -190,7 +190,7 @@ private val defaultParameterCleanerPhase = makeWasmModulePhase(
//)
private val propertiesLoweringPhase = makeWasmModulePhase(
{ context -> PropertiesLowering(context, skipExternalProperties = true, generateAnnotationFields = true) },
{ PropertiesLowering() },
name = "PropertiesLowering",
description = "Move fields and accessors out from its property"
)
@@ -399,4 +399,4 @@ val wasmPhases = namedIrModulePhase<WasmBackendContext>(
staticMembersLoweringPhase then
validateIrAfterLowering
)
)