/// Lower the list of procedures into a list of instructions.
/// Procedures are not stored in memory, but are inlined instead.
/// All this method does is resolve all `call` instructions.
Lower the list of procedures into a list of instructions.
Procedures are not stored in memory, but are inlined instead.
All this method does is resolve all `call` instructions.
Lower the list of procedures into a list of instructions . Procedures are not stored in memory but are inlined instead . All this method does is resolve all ` call ` instructions .
pub fn lower(self) -> Result<Vec<asm::Instruct>> {
        let mut entry_proc = Procedure::new(Procedure::ENTRY_POINT, Vec::new());
        for prc in &self.procs {
            if prc.is_entry_point() {
                entry_proc = prc.clone();
            }
        }
        entry_proc.lower(&self.procs)
    }
pub fn lower ( self ) -> Result < Vec < asm :: Instruct > > { let mut entry_proc = Procedure :: new ( Procedure :: ENTRY_POINT , Vec :: new ( ) ) ; for prc in & self . procs { if prc . is_entry_point ( ) { entry_proc = prc . clone ( ) ; } } entry_proc . lower ( & self . procs ) }
Lower the list of procedures into a list of instructions.
Lower the list of procedures into a list of instructions .
self