Skip to main content

head_of

Function head_of 

Source
pub fn head_of(ty: Type) -> Option<&'static str>
Expand description

What the pseudo for an argument of that type is called.

The width is in the name for the same reason it is in every other opcode here: it is what the instruction is about. Nothing encodes it, so nothing depends on it being right, but a listing that says an argument arrived and does not say how much of it did is a listing worth less.

An integer and nothing else, which is the same answer crate::term gives about a value in a register, and deliberately the same: an address is not an i64 to the rule set today, so bringing one in here would produce a register no rule could then name. Whoever widens one of the two should widen both.