Skip to content

Commit 7b9a514

Browse files
committed
remove Reset impl for InstrEncoder
This impl is just needed for *Allocation types such as InstrEncoderAllocations.
1 parent eefbff2 commit 7b9a514

File tree

1 file changed

+0
-6
lines changed
  • crates/wasmi/src/engine/translator/func2

1 file changed

+0
-6
lines changed

crates/wasmi/src/engine/translator/func2/instrs.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ impl Reset for InstrEncoderAllocations {
4242
}
4343
}
4444

45-
impl Reset for InstrEncoder {
46-
fn reset(&mut self) {
47-
self.instrs.clear();
48-
}
49-
}
50-
5145
impl InstrEncoder {
5246
/// Creates a new [`InstrEncoder`].
5347
pub fn new(engine: &Engine, alloc: InstrEncoderAllocations) -> Self {

0 commit comments

Comments
 (0)