aboutsummaryrefslogtreecommitdiff
path: root/src/arch/wasm/CodeGen.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-05-25 23:04:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:55 -0700
commit66c43968546e38879a2d4c3f2264e10676deef73 (patch)
tree9220a6d6f006e08bd7aa7ccd6997276dae6383bf /src/arch/wasm/CodeGen.zig
parent9afa97418350a51d8e27f1df903d8034507254ce (diff)
downloadzig-66c43968546e38879a2d4c3f2264e10676deef73.tar.gz
zig-66c43968546e38879a2d4c3f2264e10676deef73.zip
AIR: eliminate the `values` array
Diffstat (limited to 'src/arch/wasm/CodeGen.zig')
-rw-r--r--src/arch/wasm/CodeGen.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig
index d9cb56404a..0c77197417 100644
--- a/src/arch/wasm/CodeGen.zig
+++ b/src/arch/wasm/CodeGen.zig
@@ -4947,7 +4947,7 @@ fn airShuffle(func: *CodeGen, inst: Air.Inst.Index) InnerError!void {
const a = try func.resolveInst(extra.a);
const b = try func.resolveInst(extra.b);
- const mask = func.air.values[extra.mask];
+ const mask = extra.mask.toValue();
const mask_len = extra.mask_len;
const child_ty = inst_ty.childType(mod);