Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into fix/emscripten-translate

This commit is contained in:
Lachlan Sneff 2019-02-02 15:58:43 -08:00
commit 6a66ec3407

View File

@ -122,7 +122,7 @@ impl<'module, 'isa, 'data> ModuleEnvironment<'data> for ModuleEnv<'module, 'isa>
Initializer::Const(Value::F64(f64::from_bits(x)))
}
cranelift_wasm::GlobalInit::GetGlobal(global_index) => {
assert!(!desc.mutable);
// assert!(!desc.mutable);
let global_index: GlobalIndex = Converter(global_index).into();
let imported_global_index = global_index
.local_or_import(self.module)