aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-01-20 15:40:48 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-01-20 16:17:16 -0700
commit1417698c111e7f75d1c6959c7af8cd1a4d5231f6 (patch)
treef66c94d9c97d231dc5a32fb815f57f420912ad7a /src/Module.zig
parent4fccc95b0152aefeb40912768ec045b57a2fdc2b (diff)
downloadzig-1417698c111e7f75d1c6959c7af8cd1a4d5231f6.tar.gz
zig-1417698c111e7f75d1c6959c7af8cd1a4d5231f6.zip
Sema: storePtr optimization for tuples
To generate better code for tuples, we detect a tuple operand in storePtr, and analyze field loads and stores directly. This avoids an extra allocation + memcpy which would occur if we used `coerce`.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions