diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-10-14 07:57:11 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-10-19 19:15:23 +0100 |
| commit | ec19086aa0491024622c444b0d9310560de9e6f0 (patch) | |
| tree | 000cb85a1af4bf6fe1cb6d8dc40e3f1817e7e2dd /src/arch/wasm/CodeGen.zig | |
| parent | bc797a97b1f7476b620567ff32b7a396ebdb4c9c (diff) | |
| download | zig-ec19086aa0491024622c444b0d9310560de9e6f0.tar.gz zig-ec19086aa0491024622c444b0d9310560de9e6f0.zip | |
compiler: remove @setAlignStack
This commit finishes implementing #21209 by removing the
`@setAlignStack` builtin in favour of `CallingConvention` payloads. The
x86_64 backend is updated to use the stack alignment given in the
calling convention (the LLVM backend was already updated in a previous
commit).
Resolves: #21209
Diffstat (limited to 'src/arch/wasm/CodeGen.zig')
| -rw-r--r-- | src/arch/wasm/CodeGen.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig index a04a8528dc..012210223f 100644 --- a/src/arch/wasm/CodeGen.zig +++ b/src/arch/wasm/CodeGen.zig @@ -710,7 +710,7 @@ stack_size: u32 = 0, /// The stack alignment, which is 16 bytes by default. This is specified by the /// tool-conventions: https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md /// and also what the llvm backend will emit. -/// However, local variables or the usage of `@setAlignStack` can overwrite this default. +/// However, local variables or the usage of `incoming_stack_alignment` in a `CallingConvention` can overwrite this default. stack_alignment: Alignment = .@"16", // For each individual Wasm valtype we store a seperate free list which |
