We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac663e9 commit 7e4ab83Copy full SHA for 7e4ab83
crates/leanVm/src/intermediate_bytecode/instruction.rs
@@ -115,6 +115,24 @@ impl IntermediateInstruction {
115
res: right,
116
}
117
118
+
119
+ pub fn is_hint(&self) -> bool {
120
+ match self {
121
+ Self::RequestMemory { .. }
122
+ | Self::Print { .. }
123
+ | Self::DecomposeBits { .. }
124
+ | Self::Inverse { .. } => true,
125
+ Self::Computation { .. }
126
+ | Self::Panic
127
+ | Self::Deref { .. }
128
+ | Self::JumpIfNotZero { .. }
129
+ | Self::Jump { .. }
130
+ | Self::Poseidon2_16 { .. }
131
+ | Self::Poseidon2_24 { .. }
132
+ | Self::DotProduct { .. }
133
+ | Self::MultilinearEval { .. } => false,
134
+ }
135
136
137
138
impl fmt::Display for IntermediateInstruction {
0 commit comments