mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
Merge branch 'fix/emscripten-translate' of github.com:wasmerio/wasmer into fix/emscripten-translate
This commit is contained in:
commit
6a66ec3407
@ -122,7 +122,7 @@ impl<'module, 'isa, 'data> ModuleEnvironment<'data> for ModuleEnv<'module, 'isa>
|
|||||||
Initializer::Const(Value::F64(f64::from_bits(x)))
|
Initializer::Const(Value::F64(f64::from_bits(x)))
|
||||||
}
|
}
|
||||||
cranelift_wasm::GlobalInit::GetGlobal(global_index) => {
|
cranelift_wasm::GlobalInit::GetGlobal(global_index) => {
|
||||||
assert!(!desc.mutable);
|
// assert!(!desc.mutable);
|
||||||
let global_index: GlobalIndex = Converter(global_index).into();
|
let global_index: GlobalIndex = Converter(global_index).into();
|
||||||
let imported_global_index = global_index
|
let imported_global_index = global_index
|
||||||
.local_or_import(self.module)
|
.local_or_import(self.module)
|
||||||
|
Loading…
Reference in New Issue
Block a user