| author | |
| committer | |
| log | 1e63e8d8b6559855eca6efac6eec18f0546ecafd |
| tree | b580b04aef700a7daaa9599a15a21685033c6ef2 |
| parent | 62e755623fb02257ac5d8fe85be01f5056469cb5 |
| signature | Commit is signed but in an unrecognized format. |
Co-authored-by: joachimschmidt557 <joachim.schmidt557@outlook.com>1 files changed, 1 insertions(+), 0 deletions(-)
src/codegen.zig+1| ... | ... | @@ -2424,6 +2424,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { |
| 2424 | 2424 | .x86_64 => { |
| 2425 | 2425 | try self.genSetReg(inst.base.src, Type.initTag(.u32), .rax, .{ .memory = got_addr }); |
| 2426 | 2426 | // callq *%rax |
| 2427 | try self.code.ensureCapacity(self.code.items.len + 2); | |
| 2427 | 2428 | self.code.appendSliceAssumeCapacity(&[2]u8{ 0xff, 0xd0 }); |
| 2428 | 2429 | }, |
| 2429 | 2430 | .aarch64 => { |