pub fn load_stage2(&mut self, code_server: &mut CodeServer) -> Hopefully<()> {
    self.stage2_register_atoms(code_server);
    self.stage2_fill_lambdas();

    self.postprocess_parse_raw_code();
    //unsafe { disasm::disasm(self.code.as_slice(), None) }
    self.postprocess_fix_labels();
    self.postprocess_setup_imports()?;

    Ok(())
  }
/// Call this to apply changes to the VM after module loading succeeded. The
/// module object is not created yet, but some effects like atoms table
/// we can already apply.
Call this to apply changes to the VM after module loading succeeded. The
module object is not created yet, but some effects like atoms table
we can already apply.
Call this to apply changes to the VM after module loading succeeded . The module object is not created yet but some effects like atoms table we can already apply .
pub fn load_stage2(&mut self, code_server: &mut CodeServer) -> Hopefully<()> {
    self.stage2_register_atoms(code_server);
    self.stage2_fill_lambdas();
    self.postprocess_parse_raw_code();
    //unsafe { disasm::disasm(self.code.as_slice(), None) }
    self.postprocess_fix_labels();
    self.postprocess_setup_imports()?;
    Ok(())
  }
pub fn load_stage2 ( & mut self , code_server : & mut CodeServer ) -> Hopefully < ( ) > { self . stage2_register_atoms ( code_server ) ; self . stage2_fill_lambdas ( ) ; self . postprocess_parse_raw_code ( ) ; //unsafe { disasm::disasm(self.code.as_slice(), None) } self . postprocess_fix_labels ( ) ; self . postprocess_setup_imports ( ) ? ; Ok ( ( ) ) }
Call this to apply changes to the VM after module loading succeeded.
Call this to apply changes to the VM after module loading succeeded .
&mut self
code_server
&mut CodeServer