aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-04-10 14:04:04 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-04-10 20:57:49 -0400
commit23d7921758524f76f2157e6f8a5823da2511396a (patch)
tree14f71cfd47fb4b26d48c5c5a662e3bfd61be84b0 /lib/std/math.zig
parentcb54e9a3c20783863cf346dc935e2940d26d26d0 (diff)
downloadzig-23d7921758524f76f2157e6f8a5823da2511396a.tar.gz
zig-23d7921758524f76f2157e6f8a5823da2511396a.zip
Sema: avoid emitting loops that can't loop
If a `loop` ends with a `noreturn` instruction, then it cannot loop and will be emitted as a `block` instead.
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions