Co-authored-by: Oliver Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
Ralf Jung 2020-07-27 14:10:31 +02:00
parent 6fbaa72642
commit bec7aab7fd

View File

@ -218,7 +218,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
let this = self.eval_context_ref();
if this.active_thread_stack().is_empty() {
// Diagnostics can happen even with the emoty stack (e.g. deallocation thread-local statics).
// Diagnostics can happen even with the empty stack (e.g. deallocation of thread-local statics).
return TopFrameInfo { stack_size: 0, instance: None, span: DUMMY_SP };
}
let frame = this.frame();