diff options
| author | Hannes Bredberg <hannesbredberg@gmail.com> | 2022-05-06 21:32:22 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-08 16:28:10 -0400 |
| commit | ea3f5905f0635d0c0cb3983ba5ca6c92859e9d81 (patch) | |
| tree | 8a6005d4eea0b538141a7620236debfcf914b709 /src/codegen/llvm.zig | |
| parent | 9416b4d993e5e386c9208e9a52e4e881eee8cf72 (diff) | |
| download | zig-ea3f5905f0635d0c0cb3983ba5ca6c92859e9d81.tar.gz zig-ea3f5905f0635d0c0cb3983ba5ca6c92859e9d81.zip | |
Add Win64 calling convention
Closes ziglang/zig#11585
Diffstat (limited to 'src/codegen/llvm.zig')
| -rw-r--r-- | src/codegen/llvm.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 800786891e..57bcbe9338 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -7940,6 +7940,7 @@ fn toLlvmCallConv(cc: std.builtin.CallingConvention, target: std.Target) llvm.Ca }, .Signal => .AVR_SIGNAL, .SysV => .X86_64_SysV, + .Win64 => .Win64, .PtxKernel => return switch (target.cpu.arch) { .nvptx, .nvptx64 => .PTX_Kernel, else => unreachable, |
