# stage2: first pass at printing AIR/Liveness to text · gitcafe/zig

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

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

Visibility: public

Requested revision: eadbee2041bba1cd03b24d8f30161025af8e3590

Requested commit: eadbee2041bba1cd03b24d8f30161025af8e3590

Commit: eadbee2041bba1cd03b24d8f30161025af8e3590

Tree: aebad285c7cd852fcc1c9d62f3beeb4395c6d04e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: first pass at printing AIR/Liveness to text

 * some instructions are not implemented yet
 * fix off-by-1 in Air.getMainBody
 * Compilation: use `@import("builtin")` rather than `std.builtin`
   for the values that are different for different build configurations.
 * Sema: avoid calling `addType` in between
   air_instructions.ensureUnusedCapacity and corresponding
   appendAssumeCapacity because it can possibly add an instruction.
 * Value: functions print their names

```

## Parents

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

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