diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-20 15:40:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-20 16:17:16 -0700 |
| commit | 1417698c111e7f75d1c6959c7af8cd1a4d5231f6 (patch) | |
| tree | f66c94d9c97d231dc5a32fb815f57f420912ad7a /src/codegen | |
| parent | 4fccc95b0152aefeb40912768ec045b57a2fdc2b (diff) | |
| download | zig-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/codegen')
0 files changed, 0 insertions, 0 deletions
