# AstGen: pass \*GenZir as the first arg, not \*Module · gitcafe/zig

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

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

Visibility: public

Requested revision: f80f8a7a7835db5f8b13aab23b4ee79e88c25e63

Requested commit: f80f8a7a7835db5f8b13aab23b4ee79e88c25e63

Commit: f80f8a7a7835db5f8b13aab23b4ee79e88c25e63

Tree: 8d059cd5e3163bbbf4f7b9cee93fe68f06ae8138

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
AstGen: pass *GenZir as the first arg, not *Module

This avoids the unnecessary scope.getGenZir() virtual call for both
convenience and performance.

```

## Parents

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

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