Skip to content

Commit

Permalink
move ConstValue into mir
Browse files Browse the repository at this point in the history
this way we have mir::ConstValue and ty::ValTree as reasonably parallel
  • Loading branch information
RalfJung committed Sep 19, 2023
1 parent 46b55ae commit 247d38d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

use rustc_data_structures::fx::{FxHashMap, FxHashSet};
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
use rustc_middle::mir::interpret::{read_target_uint, AllocId, ConstValue, GlobalAlloc, Scalar};
use rustc_middle::mir::interpret::{read_target_uint, AllocId, GlobalAlloc, Scalar};
use rustc_middle::mir::ConstValue;

use cranelift_module::*;

Expand Down

0 comments on commit 247d38d

Please sign in to comment.