We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f3483 commit 53c69a8Copy full SHA for 53c69a8
synthesizer/process/src/stack/call/mod.rs
@@ -283,15 +283,11 @@ impl<N: Network> CallTrait<N> for Call<N> {
283
.iter()
284
.map(|output| substack.sample_value(&address, output.value_type(), rng))
285
.collect::<Result<Vec<_>>>()?;
286
-
287
- // Retrieve the output operands.
288
- let output_operands =
289
- &function.outputs().iter().map(|output| output.operand()).collect::<Vec<_>>();
290
291
// Map the output operands to registers.
292
- let output_registers = output_operands
+ let output_registers = function
+ .outputs()
293
294
- .map(|operand| match operand {
+ .map(|output| match output.operand() {
295
Operand::Register(register) => Some(register.clone()),
296
_ => None,
297
})
0 commit comments