pub fn C_str_slice(cx: &CodegenCx<'ll, '_>, s: LocalInternedString) -> &'ll Value {
    let len = s.len();
    let cs = consts::ptrcast(C_cstr(cx, s, false),
        cx.layout_of(cx.tcx.mk_str()).llvm_type(cx).ptr_to());
    C_fat_ptr(cx, cs, C_usize(cx, len as u64))
}
// NB: Do not use `do_spill_noroot` to make this into a constant string, or
// you will be kicked off fast isel. See issue #4352 for an example of this.
Do not use `do_spill_noroot` to make this into a constant string, or
you will be kicked off fast isel. See issue #4352 for an example of this.
Do not use ` do_spill_noroot ` to make this into a constant string or you will be kicked off fast isel . See issue #4352 for an example of this .
pub fn C_str_slice(cx: &CodegenCx<'ll, '_>, s: LocalInternedString) -> &'ll Value {
    let len = s.len();
    let cs = consts::ptrcast(C_cstr(cx, s, false),
        cx.layout_of(cx.tcx.mk_str()).llvm_type(cx).ptr_to());
    C_fat_ptr(cx, cs, C_usize(cx, len as u64))
}
pub fn C_str_slice ( cx : & CodegenCx < ' ll , ' _ > , s : LocalInternedString ) -> & ' ll Value { let len = s . len ( ) ; let cs = consts :: ptrcast ( C_cstr ( cx , s , false ) , cx . layout_of ( cx . tcx . mk_str ( ) ) . llvm_type ( cx ) . ptr_to ( ) ) ; C_fat_ptr ( cx , cs , C_usize ( cx , len as u64 ) ) }
NB: Do not use `do_spill_noroot` to make this into a constant string, or
you will be kicked off fast isel.
NB : Do not use ` do_spill_noroot ` to make this into a constant string or you will be kicked off fast isel .
cx
&CodegenCx<'ll, '_>
s
LocalInternedString