From e02dc4af4bf3104574f5fe96f1b51cb27f65c508 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Tue, 19 Nov 2019 15:31:37 -0500 Subject: [PATCH] Re-add comment --- src/shims/panic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shims/panic.rs b/src/shims/panic.rs index ef9843056a..59ff1a870d 100644 --- a/src/shims/panic.rs +++ b/src/shims/panic.rs @@ -47,6 +47,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx trace!("miri_start_panic: {:?}", this.frame().span); + // Get the raw pointer stored in arg[0] (the panic payload). let scalar = this.read_immediate(args[0])?; assert!(this.machine.panic_payload.is_none(), "the panic runtime should avoid double-panics"); this.machine.panic_payload = Some(scalar);