# AstGen: use \`condbr_inline\` if force_comptime is set · gitcafe/zig

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

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

Visibility: public

Requested revision: 89e8bb409a6b3dd47f9d1e1ab6e2abc5fb0ef746

Requested commit: 89e8bb409a6b3dd47f9d1e1ab6e2abc5fb0ef746

Commit: 89e8bb409a6b3dd47f9d1e1ab6e2abc5fb0ef746

Tree: 2e7c12b7874620e757607ca69a7581585adb3dfc

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
AstGen: use `condbr_inline` if force_comptime is set

The `finishThenElseBlock` would correctly use `break_inline`
which would cause Sema to use `addRuntimeBreak` instead of
doing the branch at comptime.

```

## Parents

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

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