diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-09-18 21:24:50 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-19 00:43:21 -0700 |
| commit | 3e79315d19c7dfe5f9b90185d8030209ef8dd829 (patch) | |
| tree | 28be901fb7fa95af1e73bd4c6b8297421b916570 /test/cases/compile_errors/call_optional_function.zig | |
| parent | f91ff9a746ff97945dacc8114c073bd279f68f17 (diff) | |
| download | zig-3e79315d19c7dfe5f9b90185d8030209ef8dd829.tar.gz zig-3e79315d19c7dfe5f9b90185d8030209ef8dd829.zip | |
x86 backend: don't read bogus safety flag
Safety is not a global flag that should be enabled or disabled for all
stores - it's lowered by the frontend directly into AIR instruction
semantics. The flag for this is communicated via the `store` vs
`store_safe` AIR instructions, and whether to write 0xaa bytes or not
should be decided in `airStore` and passed down via function parameters.
This commit is a step backwards since it removes functionality but it
aims our feet towards a better mountain to climb.
Diffstat (limited to 'test/cases/compile_errors/call_optional_function.zig')
0 files changed, 0 insertions, 0 deletions
