# x64: pass all args on stack in debug and if not extern fn · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6d3c7bd4362b8f2415bc1b0d7fee6b30668bdfcd)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6d3c7bd4362b8f2415bc1b0d7fee6b30668bdfcd

Requested commit: 6d3c7bd4362b8f2415bc1b0d7fee6b30668bdfcd

Commit: 6d3c7bd4362b8f2415bc1b0d7fee6b30668bdfcd

Tree: 73b20e2c34ce4e7740eb19f3f987e4ab082364ba

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x64: pass all args on stack in debug and if not extern fn

If the function call is not extern and we are compiling in debug,
pass function params always on stack. This will improve debugging
capabilities since the params will not be volatile and possibly
clobbered by the procedure code.

Finish implementation of `imul_complex`.

```

## Parents

- [56e9575e827208b3df5c90472826f52bfc8342c0](https://git.cafe/gitcafe/zig/commit/56e9575e827208b3df5c90472826f52bfc8342c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6d3c7bd4362b8f2415bc1b0d7fee6b30668bdfcd?format=markdown)
