# AstGen: omit make_ptr_const for resolve_inferred_alloc · gitcafe/zig

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

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

Visibility: public

Requested revision: dd402f6d83071535fffac055fabe72ebcb0db994

Requested commit: dd402f6d83071535fffac055fabe72ebcb0db994

Commit: dd402f6d83071535fffac055fabe72ebcb0db994

Tree: 4e3f74cec7d55c84c070a16dfd5b27502df969f9

Author: mlugg

Committer: Andrew Kelley

## Message

```
AstGen: omit make_ptr_const for resolve_inferred_alloc

After the previous commit, these make_ptr_const ZIR instructions are
redundant.

```

## Parents

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

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