[wasm] Pass translation state along for before/after_translate_operator callbacks (#879)

This commit is contained in:
Andy Wortman
2019-07-30 07:32:50 -07:00
committed by Benjamin Bouvier
parent 5ca13a70a5
commit b5cb8556f6
3 changed files with 6 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ pub use crate::environ::{
};
pub use crate::func_translator::FuncTranslator;
pub use crate::module_translator::translate_module;
pub use crate::state::TranslationState;
pub use crate::translation_utils::{
get_vmctx_value_label, DefinedFuncIndex, DefinedGlobalIndex, DefinedMemoryIndex,
DefinedTableIndex, FuncIndex, Global, GlobalIndex, GlobalInit, Memory, MemoryIndex,