pub fn push_defined_global(self, cx: &mut ModuleContext, global_type: wasmparser::GlobalType) {
        let info = cx.defined_mut(self);
        if info.defined_globals_index.is_none() {
            info.defined_globals_index = Some(u32::try_from(info.globals.len()).unwrap());
        }
        info.globals.push(global_type);
    }
/// Push a new defined global into this module's global index space.
Push a new defined global into this module's global index space.
Push a new defined global into this module ' s global index space .
pub fn push_defined_global(self, cx: &mut ModuleContext, global_type: wasmparser::GlobalType) {
        let info = cx.defined_mut(self);
        if info.defined_globals_index.is_none() {
            info.defined_globals_index = Some(u32::try_from(info.globals.len()).unwrap());
        }
        info.globals.push(global_type);
    }
pub fn push_defined_global ( self , cx : & mut ModuleContext , global_type : wasmparser :: GlobalType ) { let info = cx . defined_mut ( self ) ; if info . defined_globals_index . is_none ( ) { info . defined_globals_index = Some ( u32 :: try_from ( info . globals . len ( ) ) . unwrap ( ) ) ; } info . globals . push ( global_type ) ; }
Push a new defined global into this module's global index space.
Push a new defined global into this module ' s global index space .
self
cx
&mut ModuleContext
global_type
wasmparser::GlobalType
self
cx
&mut ModuleContext
global_type
wasmparser::GlobalType