feat(interface-types) The “helper adapter” has been removed.

This commit is contained in:
Ivan Enderlin
2020-02-24 15:49:03 +01:00
parent 09e57b7156
commit 1f2a5640a6
5 changed files with 1 additions and 94 deletions

View File

@ -58,9 +58,6 @@ pub(crate) enum AdapterKind {
/// An adapter defined for an exported function of a WebAssembly instance.
Export,
/// A helper function.
HelperFunction,
}
/// Represents an exported function signature.
@ -176,21 +173,6 @@ pub enum Adapter<'input> {
/// The instructions of the adapter.
instructions: Vec<Instruction<'input>>,
},
/// An adapter for a helper function.
HelperFunction {
/// The helper name.
name: &'input str,
/// The helper input types.
input_types: Vec<InterfaceType>,
/// The helper output types.
output_types: Vec<InterfaceType>,
/// The instructions of the adapter.
instructions: Vec<Instruction<'input>>,
},
}
/// Represented a forwarded export.