-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lineno fixes #13491
lineno fixes #13491
Conversation
81b2920
to
af81d6c
Compare
{ | ||
jl_throw(e); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-(
👍 LGTM |
Are we sure that disabling tail merging globally is a good idea? What are the performance impacts on other code that benefits from this optimization? |
it should result in a very small performance increase (yes, benefit) on some paths in functions that this affects, at the cost of not detecting when the user has duplicated code on multiple function branches (e.g. due to inlining and macros) and folding away the line numbers for that (thus losing on the code-size benefit of this optimization). we might want to manually merge all of the gc-frame pops into a single BasicBlock to cut down on the number of prologues that get emitted. (e.g. this pass, but with more specificity for Julia) |
fix tail line numbers in backtraces
also include a70d7cf when backporting |
removing the backport label given #14186 |
fixes #922 (wrong line numbers in error expressions)