Uh oh!
There was an error while loading. Please reload this page.
[MIR] track Location in MirVisitor, combine Location - #35542
Conversation
rust-highfive
commented
Aug 9, 2016
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
scottcarr
commented
Aug 9, 2016
nikomatsakis
commented
Aug 9, 2016
Seems like a win to me. @nagisa I don't quite understand your comment -- are you suggesting we should use a |
nikomatsakis
commented
Aug 9, 2016
@bors r+ |
bors
commented
Aug 9, 2016
📌 Commit 16785b6 has been approved by |
nagisa
commented
Aug 9, 2016
@nikomatsakis I’m suggesting there’s a potential overflow. We have |
jonas-schievink
commented
Aug 9, 2016
Well, this is a host- |
nikomatsakis
commented
Aug 10, 2016
@nagisa I'm not quite following. If indeed we are running on a 16-bit host, then yes, usize will be 16-bits -- probably lots of stuff would fail, but anyway we surely (in that case) wouldn't have more than 2^16 statements in any given basic block, since that's the size of the address space we'd have available, and hence we'd still be able to represent the terminator in the same way, right? |
bors
commented
Aug 11, 2016
☔ The latest upstream changes (presumably #35403) made this pull request unmergeable. Please resolve the merge conflicts. |
a178a8d to
fe40004Comparenikomatsakis
commented
Aug 11, 2016
@bors r+ |
bors
commented
Aug 11, 2016
📌 Commit fe40004 has been approved by |
fe40004 to
fb84bb1Comparenikomatsakis
commented
Aug 11, 2016
@bors r+ |
bors
commented
Aug 11, 2016
📌 Commit fb84bb1 has been approved by |
…atsakis [MIR] track Location in MirVisitor, combine Location All the users of MirVisitor::visit_statement implement their own statement index tracking. This PR move the tracking into MirVisitor itself. Also, there were 2 separate implementations of Location that were identical. This PR eliminates one of them.
eddyb
commented
Aug 14, 2016
bors
commented
Aug 14, 2016
☔ The latest upstream changes (presumably #35409) made this pull request unmergeable. Please resolve the merge conflicts. |
fb84bb1 to
0ff1282Comparenikomatsakis
commented
Aug 18, 2016
@bors r+ |
bors
commented
Aug 18, 2016
📌 Commit 0ff1282 has been approved by |
nikomatsakis
commented
Aug 22, 2016
@scottcarr hmm, these travis failures look legit...something about the interaction with constant expressions, perhaps an error in the port? |
nikomatsakis
commented
Aug 26, 2016
@bors r+ |
bors
commented
Aug 26, 2016
📌 Commit c043a27 has been approved by |
bors
commented
Aug 27, 2016
[MIR] track Location in MirVisitor, combine Location All the users of MirVisitor::visit_statement implement their own statement index tracking. This PR move the tracking into MirVisitor itself. Also, there were 2 separate implementations of Location that were identical. This PR eliminates one of them.
All the users of MirVisitor::visit_statement implement their own statement index tracking. This PR move the tracking into MirVisitor itself.
Also, there were 2 separate implementations of Location that were identical. This PR eliminates one of them.