# stage2: codegen: fix crash · gitcafe/zig

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

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

Visibility: public

Requested revision: 29051a0674800881957479c423a1feb043391671

Requested commit: 29051a0674800881957479c423a1feb043391671

Commit: 29051a0674800881957479c423a1feb043391671

Tree: 0a3fddfb551f22b15898a7539d7eb187f26f542d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: codegen: fix crash

I forgot to do -Denable-qemu -Denable-wasmtime when testing yesterday,
sorry about that.

In reuseOperand, the code assumed a re-used register would be tracked in
the register table but that is not always the case.

```

## Parents

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

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