# AstGen: avoid multiple dbg_stmt instructions in a row · gitcafe/zig

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

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

Visibility: public

Requested revision: 0648177ed7a1ad5364c478b63ec28a6de15e4ad9

Requested commit: 0648177ed7a1ad5364c478b63ec28a6de15e4ad9

Commit: 0648177ed7a1ad5364c478b63ec28a6de15e4ad9

Tree: 7358f94f7aa66e497e716be65b87a1d214357bd0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: avoid multiple dbg_stmt instructions in a row

This is purely an optimization to emit fewer ZIR instructions.

```

## Parents

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

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