(self, i: &mut Interpreter<'_>)
| 1212 | |
| 1213 | impl AddressingMode for AddrO32 { |
| 1214 | unsafe fn addr<T, I: Encode>(self, i: &mut Interpreter<'_>) -> ControlFlow<Done, *mut T> { |
| 1215 | // Note that this addressing mode cannot return `ControlFlow::Break` |
| 1216 | // which is intentional. It's expected that LLVM optimizes away any |
| 1217 | // branches callers have. |
| 1218 | unsafe { |
| 1219 | ControlFlow::Continue( |
| 1220 | i.state[self.addr] |
| 1221 | .get_ptr::<T>() |
| 1222 | .byte_offset(self.offset as isize), |
| 1223 | ) |
| 1224 | } |
| 1225 | } |
| 1226 | } |
| 1227 | |
| 1228 | impl AddressingMode for AddrZ { |