Skip to content

Commit

Permalink
Revert match barnch relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
anaPerezGhiglia committed Jun 27, 2024
1 parent 36a41ef commit fc83d66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acvm-repo/acvm/src/pwg/brillig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ impl<'b, B: BlackBoxFunctionSolver<F>, F: AcirField> BrilligSolver<'b, F, B> {
match vm_status {
VMStatus::Finished { .. } => Ok(BrilligSolverStatus::Finished),
VMStatus::InProgress => Ok(BrilligSolverStatus::InProgress),
VMStatus::ForeignCallWait { function, inputs } => {
Ok(BrilligSolverStatus::ForeignCallWait(ForeignCallWaitInfo { function, inputs }))
}
VMStatus::Failure { reason, call_stack } => {
match reason {
FailureReason::RuntimeError { message } => {
Expand Down Expand Up @@ -229,6 +226,9 @@ impl<'b, B: BlackBoxFunctionSolver<F>, F: AcirField> BrilligSolver<'b, F, B> {
}
}
}
VMStatus::ForeignCallWait { function, inputs } => {
Ok(BrilligSolverStatus::ForeignCallWait(ForeignCallWaitInfo { function, inputs }))
}
}
}

Expand Down

0 comments on commit fc83d66

Please sign in to comment.