# stage2 AArch64: move copy-register-arg-to-stack code to fn prologue · gitcafe/zig

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

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

Visibility: public

Requested revision: 090186a0c26447d99417dad9f1ba8bde49579191

Requested commit: 090186a0c26447d99417dad9f1ba8bde49579191

Commit: 090186a0c26447d99417dad9f1ba8bde49579191

Tree: 53b0057cf209e317ae61b7fbfb95a4af40ba84a1

Author: joachimschmidt557

Committer: Joachim Schmidt

## Message

```
stage2 AArch64: move copy-register-arg-to-stack code to fn prologue

This enhances the debugging experience as upon encountering a
breakpoint in a function, all arguments passed as registers have
already been moved to the stack, ready to be inspected by the
debugger.

```

## Parents

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

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