def move(self, dest_idx, src_idx, count): """ Move `count` elements from `src_idx` to `dest_idx`. """ dest_ptr = self._gep(dest_idx) src_ptr = self._gep(src_idx) cgutils.memmove(self._builder, dest_ptr, src_ptr, count, itemsize=self._itemsize)
def move(self, dest_idx, src_idx, count): """ Move `count` elements from `src_idx` to `dest_idx`. """ dest_ptr = self._gep(dest_idx) src_ptr = self._gep(src_idx) cgutils.memmove(self._builder, dest_ptr, src_ptr, count, itemsize=self._itemsize) self.set_dirty(True)