| author | |
| committer | |
| log | 911f4527f0ad166d84d77887602a784b1e801421 |
| tree | 6a5cd1daf95cf299f1f65fc13dec9c8dd2553518 |
| parent | 47cd0961cb938248a2bc65d2a9d49ba1d37b0764 |
1 files changed, 3 insertions(+), 0 deletions(-)
src/arch/wasm/CodeGen.zig+3| ... | ... | @@ -2362,6 +2362,9 @@ fn store(cg: *CodeGen, lhs: WValue, rhs: WValue, ty: Type, offset: u32) InnerErr |
| 2362 | 2362 | const pt = cg.pt; |
| 2363 | 2363 | const zcu = pt.zcu; |
| 2364 | 2364 | const abi_size = ty.abiSize(zcu); |
| 2365 | ||
| 2366 | if (!ty.hasRuntimeBitsIgnoreComptime(zcu)) return; | |
| 2367 | ||
| 2365 | 2368 | switch (ty.zigTypeTag(zcu)) { |
| 2366 | 2369 | .error_union => { |
| 2367 | 2370 | const pl_ty = ty.errorUnionPayload(zcu); |