Skip to content

Commit

Permalink
Remove duplicate use_locals update (minor finding) (#1199)
Browse files Browse the repository at this point in the history
remove duplicate use_locals update
  • Loading branch information
Robbepop committed Sep 28, 2024
1 parent db10d8f commit d29f7fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/wasmi/src/engine/translator/stack/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ impl ProviderStack {
if self.use_locals || self.providers.len() < Self::PRESERVE_THRESHOLD {
return;
}
self.use_locals = true;
for (index, provider) in self.providers.iter().enumerate() {
let TaggedProvider::Local(local) = provider else {
continue;
Expand Down

0 comments on commit d29f7fe

Please sign in to comment.