aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-17 17:26:24 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-17 17:26:24 +0200
commit07c59cb4db0e026cc3d6e9f405b9d1eab0db4421 (patch)
treedc006c3da61e1bd51f3e219eb1a594a4796036e7 /src/llvm_backend_expr.cpp
parent1c655b84e48446f581a16463bb6c4d84d7a4116b (diff)
Early out and propagate `nil` in `create*`
If allocation of a `^Thread` failed, `create*` now properly return `nil`, so you can assert on that instead of calling `thread.destroy` on a null pointer, say.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions