Skip to content

Commit e02dc4a

Browse files
committed
Re-add comment
1 parent 8936d67 commit e02dc4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shims/panic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
4747

4848
trace!("miri_start_panic: {:?}", this.frame().span);
4949

50+
// Get the raw pointer stored in arg[0] (the panic payload).
5051
let scalar = this.read_immediate(args[0])?;
5152
assert!(this.machine.panic_payload.is_none(), "the panic runtime should avoid double-panics");
5253
this.machine.panic_payload = Some(scalar);

0 commit comments

Comments
 (0)