]> git.lizzy.rs Git - rust.git/commit
Revert "Refactor EvalContext stack and heap into inner struct"
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Fri, 22 Jun 2018 19:36:54 +0000 (12:36 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 4 Jul 2018 21:36:07 +0000 (14:36 -0700)
commit788c5f3c8b1453d5c7815bc345b8b7e7f79ebf80
treec7ea8670ae3ffd8c7d99ca239c99ecb53edfd946
parent7f9b01a0fc680943a5c37ee820ae3fbd6abc40f6
Revert "Refactor EvalContext stack and heap into inner struct"

This reverts commit 59d21c526c036d7097d05edd6dffdad9c5b1cb62, and uses
tuple to store the mutable parts of an EvalContext (which now includes
`Machine`). This requires that `Machine` be `Clone`.
src/librustc_mir/interpret/cast.rs
src/librustc_mir/interpret/const_eval.rs
src/librustc_mir/interpret/eval_context.rs
src/librustc_mir/interpret/memory.rs
src/librustc_mir/interpret/place.rs
src/librustc_mir/interpret/step.rs
src/librustc_mir/interpret/terminator/mod.rs
src/librustc_mir/interpret/traits.rs