(
&self,
cache_base: usize,
descr: Option<&'static BinaryOpExtendSpecializationDescr>,
)
| 7374 | |
| 7375 | #[inline] |
| 7376 | unsafe fn write_cached_binary_op_extend_descr( |
| 7377 | &self, |
| 7378 | cache_base: usize, |
| 7379 | descr: Option<&'static BinaryOpExtendSpecializationDescr>, |
| 7380 | ) { |
| 7381 | let ptr = descr.map_or(0, |d| { |
| 7382 | d as *const BinaryOpExtendSpecializationDescr as usize |
| 7383 | }); |
| 7384 | unsafe { |
| 7385 | self.code |
| 7386 | .instructions |
| 7387 | .write_cache_ptr(cache_base + BINARY_OP_EXTEND_EXTERNAL_CACHE_OFFSET, ptr); |
| 7388 | } |
| 7389 | } |
| 7390 | |
| 7391 | #[inline] |
| 7392 | fn read_cached_binary_op_extend_descr( |
no test coverage detected