From fc83d66dd653a9cba14e0805babca67490ed7b6f Mon Sep 17 00:00:00 2001 From: Ana Perez Ghiglia Date: Thu, 27 Jun 2024 10:35:12 -0600 Subject: [PATCH] Revert match barnch relocation --- acvm-repo/acvm/src/pwg/brillig.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acvm-repo/acvm/src/pwg/brillig.rs b/acvm-repo/acvm/src/pwg/brillig.rs index c599c2961a1..512c4d6e14a 100644 --- a/acvm-repo/acvm/src/pwg/brillig.rs +++ b/acvm-repo/acvm/src/pwg/brillig.rs @@ -161,9 +161,6 @@ impl<'b, B: BlackBoxFunctionSolver, 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 } => { @@ -229,6 +226,9 @@ impl<'b, B: BlackBoxFunctionSolver, F: AcirField> BrilligSolver<'b, F, B> { } } } + VMStatus::ForeignCallWait { function, inputs } => { + Ok(BrilligSolverStatus::ForeignCallWait(ForeignCallWaitInfo { function, inputs })) + } } }