# stage1: move some mutable state from Stage1Zir to IrAnalyze · gitcafe/zig

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

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

Visibility: public

Requested revision: b11ac9c5bfb4048eb4aa561f8b3b058a76787f7e

Requested commit: b11ac9c5bfb4048eb4aa561f8b3b058a76787f7e

Commit: b11ac9c5bfb4048eb4aa561f8b3b058a76787f7e

Tree: 53ac787d868ca852bbbf854b829dfd3e4296cd8c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: move some mutable state from Stage1Zir to IrAnalyze

This is progress towards making Stage1Zir immutable, so that we can
avoid generating it for every comptime function call.

Also rename IrExecutableGen to Stage1Air.

```

## Parents

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

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