# split IrInstruction into IrInst, IrInstSrc, IrInstGen · gitcafe/zig

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

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

Visibility: public

Requested revision: 6aac423964d10f9d884877a158f9604f7547b742

Requested commit: 6aac423964d10f9d884877a158f9604f7547b742

Commit: 6aac423964d10f9d884877a158f9604f7547b742

Tree: 34a581d73bf5e099158ae0f656e9f9827bfe7abe

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
split IrInstruction into IrInst, IrInstSrc, IrInstGen

This makes it so that less memory is used for IR instructions, as well
as catching bugs when one expected one kind of instruction and received
the other.

```

## Parents

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

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