Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Nov 21, 2024
1 parent ec86526 commit 2be3897
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,8 @@ pub fn create_ecx<'tcx>(
) -> InterpResult<'tcx, InterpCx<'tcx, MiriMachine<'tcx>>> {
let typing_env = ty::TypingEnv::fully_monomorphized();
let layout_cx = LayoutCx::new(tcx, typing_env);
let mut ecx = InterpCx::new(
tcx,
rustc_span::DUMMY_SP,
typing_env,
MiriMachine::new(config, layout_cx),
);
let mut ecx =
InterpCx::new(tcx, rustc_span::DUMMY_SP, typing_env, MiriMachine::new(config, layout_cx));

// Some parts of initialization require a full `InterpCx`.
MiriMachine::late_init(&mut ecx, config, {
Expand Down

0 comments on commit 2be3897

Please sign in to comment.