[Wasm] Support packed integer array elements

This commit is contained in:
Svyatoslav Kuzmich
2020-12-12 16:26:21 +03:00
parent 51e8d782b0
commit d37271bf35
4 changed files with 61 additions and 39 deletions
@@ -176,7 +176,7 @@ class DeclarationGenerator(val context: WasmModuleCodegenContext) : IrElementVis
nameStr,
WasmStructFieldDeclaration(
name = "field",
type = context.transformType(wasmArrayAnnotation.type),
type = context.transformFieldType(wasmArrayAnnotation.type),
isMutable = true
)
)