# std.debug.cpu_context.Sparc: flush register windows in current\(\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b8dd40fde8aed212ffa8a98b45821ccdf0c2e17d

Requested commit: b8dd40fde8aed212ffa8a98b45821ccdf0c2e17d

Commit: b8dd40fde8aed212ffa8a98b45821ccdf0c2e17d

Tree: 83eb99de3c864c8e555210db3f7ee5ee4136c16b

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.debug.cpu_context.Sparc: flush register windows in current()

It's better to do this here than in StackIterator.init() so that
std.debug.cpu_context.Native.current() isn't a footgun on SPARC.

```

## Parents

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

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