Function rustc::middle::trans::_match::store_arg[src]
pub fn store_arg<'a>(bcx: &'a Block<'a>, pat: Gc<Pat>, arg: Datum<Rvalue>, arg_scope: ScopeId) -> &'a Block<'a>
Generates code for argument patterns like fn foo(<pat>: T).
Creates entries in the llargs map for each of the bindings
in pat.
Arguments
patis the argument patternllvalis a pointer to the argument value (in other words, if the argument type isT, thenllvalis aT*). In some cases, this code may zero out the memoryllvalpoints at.