We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df07096 commit 7c3843bCopy full SHA for 7c3843b
crates/wasmi/src/engine/translator/func/encoder.rs
@@ -354,22 +354,6 @@ impl OpEncoder {
354
Ok(pos)
355
}
356
357
- /// Encodes the given `param` of type `T` to the [`OpEncoder`].
358
- ///
359
- /// # Note
360
361
- /// This is usually used to encode parameters of certain variable width [`Op`]s
362
- /// such as for the encoding of Wasm's `br_table`.
363
- pub fn encode_param<T>(&mut self, param: T) -> Result<(), Error>
364
- where
365
- T: ir::Encode,
366
- {
367
- debug_assert!(self.staged.is_none());
368
- self.encode_impl(param)?;
369
- debug_assert!(self.ops.take_temp().is_none());
370
- Ok(())
371
- }
372
-
373
/// Encodes an [`Op::ConsumeFuel`] operator to `self`.
374
///
375
/// # Note
0 commit comments