Factor out FuncEnvironment and ModuleEnvironment into a separate file.

This commit is contained in:
Dan Gohman
2018-08-03 13:04:05 -07:00
parent 63bc52d9fd
commit 779128d14d
4 changed files with 472 additions and 451 deletions

View File

@@ -6,7 +6,7 @@ use module::Module;
/// An Instance of a WebAssemby module.
#[derive(Debug)]
pub struct Compilation<'module> {
/// The module this `Instance` is instantiated from.
/// The module this `Compilation` is compiled from.
pub module: &'module Module,
/// Compiled machine code for the function bodies.