aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-24 17:58:23 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-25 11:23:41 -0700
commit5378fdffdcc60a5273021bc9cfc5be917e87c992 (patch)
treeab4ceb8185b8a8fa3977b7fa76e1a49450f0aabb /test/behavior/basic.zig
parentd604553ee0c32caa0632a01e263a34e31a95b2b3 (diff)
downloadzig-5378fdffdcc60a5273021bc9cfc5be917e87c992.tar.gz
zig-5378fdffdcc60a5273021bc9cfc5be917e87c992.zip
stage2: introduce store_safe AIR instruction
store: The value to store may be undefined, in which case the destination memory region has undefined bytes after this instruction is evaluated. In such case ignoring this instruction is legal lowering. store_safe: Same as `store`, except if the value to store is undefined, the memory region should be filled with 0xaa bytes, and any other safety metadata such as Valgrind integrations should be notified of this memory region being undefined.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions