Comment nits
Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
cdc730457e
commit
ec88ffa38c
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||||
) -> InterpResult<'tcx, OpTy<'tcx, M::PointerTag>> {
|
) -> InterpResult<'tcx, OpTy<'tcx, M::PointerTag>> {
|
||||||
let base = match op.try_as_mplace(self) {
|
let base = match op.try_as_mplace(self) {
|
||||||
Ok(mplace) => {
|
Ok(mplace) => {
|
||||||
// We can reuse the mplace field computation logic for indirect operands
|
// We can reuse the mplace field computation logic for indirect operands.
|
||||||
let field = self.mplace_field(mplace, field)?;
|
let field = self.mplace_field(mplace, field)?;
|
||||||
return Ok(field.into());
|
return Ok(field.into());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue