Skip to content

Make jl_assume, jl_assume_aligned, jl_unreachable asserts in debug#61015

Merged
xal-0 merged 4 commits intoJuliaLang:masterfrom
xal-0:jl-assume-asserts
Feb 16, 2026
Merged

Make jl_assume, jl_assume_aligned, jl_unreachable asserts in debug#61015
xal-0 merged 4 commits intoJuliaLang:masterfrom
xal-0:jl-assume-asserts

Conversation

@xal-0
Copy link
Copy Markdown
Member

@xal-0 xal-0 commented Feb 12, 2026

When JL_NDEBUG is undefined, we should use these as assertions. Suggested by @topolarity in
#60031 (comment).

@xal-0 xal-0 mentioned this pull request Feb 12, 2026
When JL_NDEBUG is undefined, we should use these as assertions.
Suggested by @topolarity in
JuliaLang#60031 (comment).
@xal-0 xal-0 force-pushed the jl-assume-asserts branch from 4da27b0 to 56b344b Compare February 12, 2026 22:57
Copy link
Copy Markdown
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this! This behavior seems an improvement to me.

Co-authored-by: Cody Tapscott <84105208+topolarity@users.noreply.github.com>
@xal-0 xal-0 merged commit 3a3289a into JuliaLang:master Feb 16, 2026
6 of 8 checks passed
@xal-0 xal-0 deleted the jl-assume-asserts branch February 16, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants