aboutsummaryrefslogtreecommitdiff
path: root/src/arch/wasm/CodeGen.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-21 14:18:17 -0500
committerGitHub <noreply@github.com>2022-02-21 14:18:17 -0500
commit74303a3d9591f188fb4dda96bf689c00ebbd24ca (patch)
tree936ea6f3afe985b9cc3110eca1d4b1750a4fca2f /src/arch/wasm/CodeGen.zig
parent628e9e6d040979bd0a2cba05e854014dee5a7d55 (diff)
parenta5ac06268972bd7279a1bb928a40d70cc7d515ed (diff)
downloadzig-74303a3d9591f188fb4dda96bf689c00ebbd24ca.tar.gz
zig-74303a3d9591f188fb4dda96bf689c00ebbd24ca.zip
Merge pull request #10925 from Vexu/stage2
stage2: support anon init through error unions and optionals
Diffstat (limited to 'src/arch/wasm/CodeGen.zig')
-rw-r--r--src/arch/wasm/CodeGen.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig
index 2bd6b92963..b776f30346 100644
--- a/src/arch/wasm/CodeGen.zig
+++ b/src/arch/wasm/CodeGen.zig
@@ -1725,6 +1725,7 @@ fn genInst(self: *Self, inst: Air.Inst.Index) !WValue {
.atomic_rmw,
.tag_name,
.error_name,
+ .errunion_payload_ptr_set,
// For these 4, probably best to wait until https://github.com/ziglang/zig/issues/10248
// is implemented in the frontend before implementing them here in the wasm backend.