Skip to main content

MAX_ARGS

Constant MAX_ARGS 

Source
pub const MAX_ARGS: usize = 3;
Expand description

How many operands of one instruction a plan can speak about.

Two is what every pattern in the rule set needs, and a third costs nothing to carry. An instruction with more operands than this is one no rule matches, which is the same answer it would get from a plan that could describe it.