Uh oh!
There was an error while loading. Please reload this page.
Translate shims using MIR - #39628
Conversation
rust-highfive
commented
Feb 7, 2017
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
bors
commented
Feb 9, 2017
☔ The latest upstream changes (presumably #39586) made this pull request unmergeable. Please resolve the merge conflicts. |
KalitaAlexey
commented
Feb 9, 2017
Hi @arielb1, |
arielb1
commented
Feb 9, 2017
Some functions in Rust, such as enum variant constructions (e.g. |
eddyb
commented
Feb 13, 2017
cc @rust-lang/compiler |
@arielb1 to what end? what you're doing and why you're doing it are equally important. Your commit messages don't provide information on your rationale 🙁 |
jonas-schievink
commented
Feb 15, 2017
@mrhota less special-casing and less convoluted code in the compiler |
solson
commented
Feb 15, 2017
It also pulls trans-specific code out into MIR in a way that will work for alternative backends (e.g. miri, mir2wasm), reducing duplication between them. |
There was a problem hiding this comment.
A more explicit comment would be nice -- It's not clear to me what the Ty<'tcx> represents here.
bors
commented
Feb 25, 2017
☔ The latest upstream changes (presumably #40091) made this pull request unmergeable. Please resolve the merge conflicts. |
f52b583 to
6f607d6CompareThere was a problem hiding this comment.
Why is this file not in librustc_mir/transform?
There was a problem hiding this comment.
Because it's not a MIR pass.
eddyb
left a comment
There was a problem hiding this comment.
LGTM so far! r=me with those extra FIXMEs if you want to land it like this
There was a problem hiding this comment.
Can you put a FIXME on these to eventually integrate them better with the rest of on-demand?
There was a problem hiding this comment.
But if you have a dep_node method, you can use it to move this to on-demand.
7d069ec to
bd92573Comparebors
commented
Mar 11, 2017
☔ The latest upstream changes (presumably #39648) made this pull request unmergeable. Please resolve the merge conflicts. |
Now ready (except for cleanup, and I prefer to land it now given that this PR is rather big enough already). r? @eddyb |
040f333 to
9f5def1Compareeddyb
commented
Mar 19, 2017
I can't see the end of that appveyor log. |
arielb1
commented
Mar 19, 2017
sccache failure @bors retry |
bors
commented
Mar 20, 2017
⌛ Testing commit 5dc8548 with merge 35617fc... |
bors
commented
Mar 20, 2017
💔 Test failed - status-appveyor |
arielb1
commented
Mar 20, 2017
bors
commented
Mar 20, 2017
⌛ Testing commit 5dc8548 with merge 0b1ddef... |
arielb1
commented
Mar 20, 2017
Mac builders offline @bors retry |
bors
commented
Mar 20, 2017
⌛ Testing commit 5dc8548 with merge 5e30f81... |
bors
commented
Mar 20, 2017
💔 Test failed - status-travis |
arielb1
commented
Mar 20, 2017
bors
commented
Mar 20, 2017
Translate shims using MIR This removes one large remaining part of old trans.
arielb1
commented
Mar 20, 2017
Mac test timeout? @bors retry |
bors
commented
Mar 20, 2017
☀️ Test successful - status-appveyor, status-travis |
This removes one large remaining part of old trans.