Skip to content

Commit 247d38d

Browse files
committed
move ConstValue into mir
this way we have mir::ConstValue and ty::ValTree as reasonably parallel
1 parent 46b55ae commit 247d38d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/constant.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
33
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
44
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
5-
use rustc_middle::mir::interpret::{read_target_uint, AllocId, ConstValue, GlobalAlloc, Scalar};
5+
use rustc_middle::mir::interpret::{read_target_uint, AllocId, GlobalAlloc, Scalar};
6+
use rustc_middle::mir::ConstValue;
67

78
use cranelift_module::*;
89

0 commit comments

Comments
 (0)