]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #71475 - RalfJung:miri-frame-loc, r=ecstatic-morse
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 24 Apr 2020 11:14:24 +0000 (13:14 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 11:14:24 +0000 (13:14 +0200)
commitaa9053a3e76ecf2a35fecee5e83e5b27582cf9df
treeedbde61a61dc672d4430725bf6521992ef3eeef7
parent715948eb51920d5e4a791e4757652daf9fa925ed
parent90f11310224e9e2d5a27e3e4b8c5b1aaa1c0b980
Rollup merge of #71475 - RalfJung:miri-frame-loc, r=ecstatic-morse

Miri Frame: use mir::Location to represent position in function

I only recently learned that `Location` exists, and it seems to perfectly fit what Miri needs to represent which statement we are currently executing. :)

r? @ecstatic-morse
src/librustc_mir/interpret/eval_context.rs
src/librustc_mir/interpret/terminator.rs