# Eliminate switch_capture_tag ZIR instruction · gitcafe/zig

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

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

Visibility: public

Requested revision: 39510cc7d1f6035e16aaa4f97991abbaddef463c

Requested commit: 39510cc7d1f6035e16aaa4f97991abbaddef463c

Commit: 39510cc7d1f6035e16aaa4f97991abbaddef463c

Tree: b30f1bdc56f73aab84ec2996111a96a7fdb88e4e

Author: mlugg

Committer: mlugg

## Message

```
Eliminate switch_capture_tag ZIR instruction

This is a follow-up to a previous commit which eliminated switch_capture
and switch_capture_ref. All captures are now handled directly by
`switch_block`, which has also eliminated some unnecessary Block data in
Sema.

```

## Parents

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

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