# run alwaysinline pass in debug mode · gitcafe/zig

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

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

Visibility: public

Requested revision: 7f47b0c271931466d8ce88c0928ff2bef8f8109f

Requested commit: 7f47b0c271931466d8ce88c0928ff2bef8f8109f

Commit: 7f47b0c271931466d8ce88c0928ff2bef8f8109f

Tree: 18e3aa9436bd8d4ae543e13c5e6955b20c95b49e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
run alwaysinline pass in debug mode

before this commit, the optimized IR code that is displayed in
--verbose mode is not actually what gets emitted to an object
file.

that is now corrected, and we make sure to run the alwaysinliner
pass even in debug mode, so you can rely on "inline" keyword
inlining a function, guaranteed.

See #306

```

## Parents

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

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