Skip to content

Commit

Permalink
Fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JakuJ committed Oct 22, 2023
1 parent 18bc02f commit 9aed8af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
6 changes: 5 additions & 1 deletion prusti-viper/src/encoder/procedure_encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ use prusti_rustc_interface::{
target::abi::{FieldIdx, Integer},
};
use rustc_hash::{FxHashMap, FxHashSet};
use std::{collections::BTreeMap, convert::TryInto, fmt::Debug};
use std::{
collections::BTreeMap,
convert::TryInto,
fmt::{Debug, Write},
};
use vir_crate::polymorphic::{
self as vir, borrows::Borrow, collect_assigned_vars, compute_identifier, CfgBlockIndex,
ExprIterator, Float, Successor, Type,
Expand Down
16 changes: 0 additions & 16 deletions viper/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,6 @@ impl<'a> Verifier<'a> {
}
}

#[tracing::instrument(level = "debug", skip_all)]
fn instantiate_verifier(
backend: VerificationBackend,
env: &'a JNIEnv,
reporter: JObject,
debug_info: JObject,
) -> Result<JObject<'a>> {
match backend {
VerificationBackend::Silicon => silicon::Silicon::with(env).new(reporter, debug_info),
VerificationBackend::Carbon => {
carbon::CarbonVerifier::with(env).new(reporter, debug_info)
}
other => unreachable!("{:?} is not a Viper backend", other),
}
}

#[must_use]
#[tracing::instrument(level = "debug", skip_all)]
pub fn initialize(self, args: &[String]) -> Self {
Expand Down

0 comments on commit 9aed8af

Please sign in to comment.