Move everything over from middle::const_val to mir::interpret
This commit is contained in:
parent
6005b0ad2f
commit
05994779ea
34 changed files with 158 additions and 166 deletions
|
|
@ -1381,7 +1381,7 @@ mod temp_stable_hash_impls {
|
|||
|
||||
fn fetch_wasm_section(tcx: TyCtxt, id: DefId) -> (String, Vec<u8>) {
|
||||
use rustc::mir::interpret::GlobalId;
|
||||
use rustc::middle::const_val::ConstVal;
|
||||
use rustc::mir::interpret::ConstVal;
|
||||
|
||||
info!("loading wasm section {:?}", id);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
use llvm::{self, ValueRef};
|
||||
use rustc::middle::const_val::{ConstVal, ConstEvalErr};
|
||||
use rustc::mir::interpret::{ConstVal, ConstEvalErr};
|
||||
use rustc_mir::interpret::{read_target_uint, const_val_field};
|
||||
use rustc::hir::def_id::DefId;
|
||||
use rustc::mir;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
use llvm::{ValueRef, LLVMConstInBoundsGEP};
|
||||
use rustc::middle::const_val::ConstEvalErr;
|
||||
use rustc::mir::interpret::ConstEvalErr;
|
||||
use rustc::mir;
|
||||
use rustc::mir::interpret::ConstValue;
|
||||
use rustc::ty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue