# zir: use \`node\` union field for \`alloc_inferred\` · gitcafe/zig

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

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

Visibility: public

Requested revision: d9c25ec6720ecb0bc79fcab67659ee12ca6ad687

Requested commit: d9c25ec6720ecb0bc79fcab67659ee12ca6ad687

Commit: d9c25ec6720ecb0bc79fcab67659ee12ca6ad687

Tree: 6ec9572a2d31ee93492a0746732308aa04b1a0dc

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zir: use `node` union field for `alloc_inferred`

Previously we used `un_node` and passed `undefined` for the operand, but
this causes illegal behavior when printing ZIR code.

```

## Parents

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

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