Uh oh!
There was an error while loading. Please reload this page.
Several changes to the codegen backend organization - #65340
Conversation
rust-highfive
commented
Oct 12, 2019
Some changes occurred in diagnostic error codes |
rust-highfive
commented
Oct 12, 2019
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
Centril
commented
Oct 12, 2019
eddyb
commented
Oct 12, 2019
r? @eddyb I'll look into this ASAP (please ping me elsewhere otherwise) |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Maybe we should have a newtype of Value to force this to be correctly typed (LLVM has a class for functions which IIRC is a subclass of GlobalValue). But this is a low-priority cleanup.
There was a problem hiding this comment.
At some point we'll have to replace all of these ll prefixes in variable names.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bors
commented
Oct 13, 2019
☔ The latest upstream changes (presumably #65182) made this pull request unmergeable. Please resolve the merge conflicts. |
The associated long diagnostic didn't get registered before
eddyb
commented
Oct 14, 2019
@bors r+ |
bors
commented
Oct 14, 2019
📌 Commit f0e2fc7 has been approved by |
Several changes to the codegen backend organization * Split functions from values in cg_ssa `BackendTypes`. * Remove `is_const_integral` function from `ConstMethods`. * Actually register the invalid monomorphization of intrinsic long diagnostic and remove the `diagnostics` method from `CodegenBackends`, as it was unused. * Add cg_ssa and cg_utils provided methods to `default_provide`, so codegen backend don't have to do it themself.
Rollup of 10 pull requests Successful merges: - #65170 (rustc_metadata: Privatize private code and remove dead code) - #65260 (Optimize `LexicalResolve::expansion`.) - #65261 (Remove `Option` from `TokenStream`) - #65332 (std::fmt: reorder docs) - #65340 (Several changes to the codegen backend organization) - #65365 (Include const generic arguments in metadata) - #65398 (Bring attention to suggestions when the only difference is capitalization) - #65410 (syntax: add parser recovery for intersection- / and-patterns `p1 @ p2`) - #65415 (Remove an outdated test output file) - #65416 (Minor sync changes) Failed merges: r? @ghost
BackendTypes.is_const_integralfunction fromConstMethods.diagnosticsmethod fromCodegenBackends, as it was unused.default_provide, so codegen backend don't have to do it themself.