mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
@@ -383,9 +383,6 @@ fn pop_stack_frame(&mut self) -> EvalResult<'tcx, ()> {
|
||||
}
|
||||
},
|
||||
}
|
||||
if let Value::ByRef(ptr) = global_value.data.expect("global should have been initialized") {
|
||||
self.memory.freeze(ptr.alloc_id)?;
|
||||
}
|
||||
assert!(global_value.mutable);
|
||||
global_value.mutable = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user