We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Function::is_no_predicates
1 parent b3a8f39 commit 8cab0e4Copy full SHA for 8cab0e4
1 file changed
compiler/noirc_evaluator/src/ssa/ir/function.rs
@@ -143,10 +143,7 @@ impl Function {
143
}
144
145
pub(crate) fn is_no_predicates(&self) -> bool {
146
- match self.runtime() {
147
- RuntimeType::Acir(inline_type) => matches!(inline_type, InlineType::NoPredicates),
148
- RuntimeType::Brillig(_) => false,
149
- }
+ self.runtime().is_no_predicates()
150
151
152
/// Retrieves the entry block of a function.
0 commit comments