# stage2: miscellaneous fixes for the branch · gitcafe/zig

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

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

Visibility: public

Requested revision: d17f492017c77d5d52d2fbd65eaa5c1e08b24161

Requested commit: d17f492017c77d5d52d2fbd65eaa5c1e08b24161

Commit: d17f492017c77d5d52d2fbd65eaa5c1e08b24161

Tree: 4b5f2ecc801b19f546982a0bc159e2db979f90b2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: miscellaneous fixes for the branch

 * Breaking language change: inline assembly must use string literal
   syntax. This is in preparation for inline assembly improvements that
   involve more integration with the Zig language. This means we cannot
   rely on text substitution.
 * Liveness: properly handle inline assembly and function calls with
   more than 3 operands.
   - More than 35 operands is not yet supported. This is a low priority
     to implement.
   - This required implementation in codegen.zig as well.
 * Liveness: fix bug causing incorrect tomb bits.
 * Sema: enable switch expressions that are evaluated at compile-time.
   - Runtime switch instructions still need to be reworked in this
     branch. There was a TODO left here (by me) with a suggestion to do
     some bigger changes as part of the AIR memory reworking. Now that
     time has come and I plan to honor the suggestion in a future commit
     before merging this branch.
 * AIR printing: fix missing ')' on alive instructions.

We're back to "hello world" working for the x86_64 backend.

```

## Parents

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

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