Function rustc::middle::trans::datum::lvalue_scratch_datum[src]
pub fn lvalue_scratch_datum<'a, A>(bcx: &'a Block<'a>, ty: t, name: &str, zero: bool, scope: ScopeId, arg: A, populate: |A, &'a Block<'a>, ValueRef| -> &'a Block<'a>) -> DatumBlock<'a, Lvalue>
Allocates temporary space on the stack using alloca() and
returns a by-ref Datum pointing to it. The memory will be
dropped upon exit from scope. The callback populate should
initialize the memory. If zero is true, the space will be
zeroed when it is allocated; this is not necessary unless bcx
does not dominate the end of scope.