Skip to content

Conversation

@unknownbrackets
Copy link
Collaborator

Just a bit of paranoia. Makes me wish for the simple syntax D had, scope(exit) { inCrashHandler = false; }.

Also tweaked the DescribeCodePtr lookup in case something was going wrong in it. Maybe it returned 0 and a bunch of invalid blocks matched it, or something.

-[Unknown]

In theory, this shouldn't happen because it won't be in jit space, but
better to be sure.
We only care about the first one in these places anyway.  Also make sure
we don't try to match an invalid block number.
@hrydgard hrydgard added this to the v1.14.2 milestone Dec 21, 2022
@hrydgard hrydgard merged commit d4f5bff into hrydgard:master Dec 21, 2022
@unknownbrackets unknownbrackets deleted the exception-safety branch December 21, 2022 14:38
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