1 //! WebAssembly module and function translation state.
2 //!
3 //! The `ModuleTranslationState` struct defined in this module is used to keep track of data about
4 //! the whole WebAssembly module, such as the decoded type signatures.
5 //!
6 //! The `FuncTranslationState` struct defined in this module is used to keep track of the WebAssembly
7 //! value and control stacks during the translation of a single function.
8 
9 pub(crate) mod func_state;
10 pub(crate) mod module_state;
11 
12 // Re-export for convenience.
13 pub(crate) use func_state::*;
14 pub(crate) use module_state::*;
15