Skip to main content

Module lower_slice_len

Module lower_slice_len 

Source
Expand description

This pass lowers calls to core::slice::len to just PtrMetadata op. It should run before inlining!

Re-exportsยง

use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use crate::PassPolicy; ๐Ÿ”’
use rustc_middle::mir::*; ๐Ÿ”’

Structsยง

LowerSliceLenCalls ๐Ÿ”’

Functionsยง

lower_slice_len_call ๐Ÿ”’