Run Mir passes (copied from rustc pre-trans).

This commit is contained in:
Scott Olson
2016-06-30 21:33:24 -06:00
parent 756d73b3ca
commit 64eca52ad3
6 changed files with 36 additions and 8 deletions

View File

@@ -9,6 +9,7 @@
// From rustc.
#[macro_use] extern crate rustc;
extern crate rustc_borrowck;
extern crate rustc_data_structures;
extern crate rustc_mir;
extern crate rustc_trans;
@@ -35,6 +36,7 @@ pub use interpreter::{
EvalContext,
Frame,
eval_main,
run_mir_passes,
};
pub use memory::{