Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LLVM optimization: reduce complexity at call site
@BlobCodes: I think it would be better to print the bug message in `Crystal.once` instead of `__crystal_once` to reduce complexity at the callsite. The previous unreachable method can then be used in the inlined `__crystal_once` so LLVM also knows it doesn't have to re-run the method. It's now even safe because `Crystal.once` would panic if it failed; it should already be impossible, but let's err on the safe side.
- Loading branch information