mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
fmt
This commit is contained in:
parent
f5fd967283
commit
ec6fe118d9
@ -270,12 +270,8 @@ pub fn create_ecx<'tcx>(
|
|||||||
) -> InterpResult<'tcx, InterpCx<'tcx, MiriMachine<'tcx>>> {
|
) -> InterpResult<'tcx, InterpCx<'tcx, MiriMachine<'tcx>>> {
|
||||||
let typing_env = ty::TypingEnv::fully_monomorphized();
|
let typing_env = ty::TypingEnv::fully_monomorphized();
|
||||||
let layout_cx = LayoutCx::new(tcx, typing_env);
|
let layout_cx = LayoutCx::new(tcx, typing_env);
|
||||||
let mut ecx = InterpCx::new(
|
let mut ecx =
|
||||||
tcx,
|
InterpCx::new(tcx, rustc_span::DUMMY_SP, typing_env, MiriMachine::new(config, layout_cx));
|
||||||
rustc_span::DUMMY_SP,
|
|
||||||
typing_env,
|
|
||||||
MiriMachine::new(config, layout_cx),
|
|
||||||
);
|
|
||||||
|
|
||||||
// Some parts of initialization require a full `InterpCx`.
|
// Some parts of initialization require a full `InterpCx`.
|
||||||
MiriMachine::late_init(&mut ecx, config, {
|
MiriMachine::late_init(&mut ecx, config, {
|
||||||
|
Loading…
Reference in New Issue
Block a user