Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions acvm-repo/acir/src/circuit/opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ pub enum Opcode<F: AcirField> {
inputs: Vec<BrilligInputs<F>>,
/// Outputs to the function call
outputs: Vec<BrilligOutputs>,
/// Predicate of the Brillig execution - indicates if it should be skipped
/// Predicate of the Brillig execution - when the predicate evaluates to 0, execution is skipped.
/// When the predicate evaluates to 1 or is None, execution proceeds.
predicate: Option<Expression<F>>,
},

Expand All @@ -141,7 +142,8 @@ pub enum Opcode<F: AcirField> {
inputs: Vec<Witness>,
/// Outputs of the function call
outputs: Vec<Witness>,
/// Predicate of the circuit execution - indicates if it should be skipped
/// Predicate of the circuit execution - when the predicate evaluates to 0, execution is skipped.
/// When the predicate evaluates to 1 or is None, execution proceeds.
predicate: Option<Expression<F>>,
},
}
Expand Down
Loading