-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Misc refactorings to rustc_codegen_ssa #58846
Conversation
☔ The latest upstream changes (presumably #59178) made this pull request unmergeable. Please resolve the merge conflicts. |
r? @oli-obk |
Sorry about the delays, please ping me in IRC/Discord PMs (or Zulip, but its UI/UX make it harder to use), if I don't see notifications, I'm still digging myself out of the backlog, but I am around! |
cg_elem: OperandRef<'tcx, &'ll Value>, | ||
count: u64, | ||
dest: PlaceRef<'tcx, &'ll Value>, | ||
) -> Self { |
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.
This is neat!
r=me with the comment fixed |
…ods from cg_ssa This introduces the static_panic_msg trait method to StaticBuilderMethods.
declare_local still takes &FunctionDebugContext, because of borrowck errors
`count_insn` is no longer called for inline asm, because it is private to builder.rs
5e303dd
to
35705de
Compare
Rebased and fixed comment. |
@bors r+ |
📌 Commit 35705de has been approved by |
☀️ Test successful - checks-travis, status-appveyor |
Unlike #56636 this doesn't split
BuilderMethods
into a lot of traits. That makes this PR twice as small and the split turned out to not be very useful anyway.r? @eddyb