| ... | @@ -1487,7 +1487,7 @@ fn finishUpdateDecl(wasm: *Wasm, decl_index: Module.Decl.Index, code: []const u8 | ... | @@ -1487,7 +1487,7 @@ fn finishUpdateDecl(wasm: *Wasm, decl_index: Module.Decl.Index, code: []const u8 |
| 1487 | | 1487 | |
| 1488 | atom.size = @intCast(u32, code.len); | 1488 | atom.size = @intCast(u32, code.len); |
| 1489 | if (code.len == 0) return; | 1489 | if (code.len == 0) return; |
| 1490 | atom.alignment = decl.ty.abiAlignment(mod); | 1490 | atom.alignment = decl.getAlignment(mod); |
| 1491 | } | 1491 | } |
| 1492 | | 1492 | |
| 1493 | /// From a given symbol location, returns its `wasm.GlobalType`. | 1493 | /// From a given symbol location, returns its `wasm.GlobalType`. |