pub fn push_scope(&mut self, extent: CodeExtent, entry: BasicBlock) {
        debug!("push_scope({:?})", extent);
        let id = ScopeId::new(self.scope_auxiliary.len());
        let vis_scope = self.visibility_scope;
        self.scopes.push(Scope {
            id: id,
            visibility_scope: vis_scope,
            extent: extent,
            drops: vec![],
            free: None,
            cached_exits: FnvHashMap()
        });
        self.scope_auxiliary.push(ScopeAuxiliary {
            extent: extent,
            dom: self.cfg.current_location(entry),
            postdoms: vec![]
        });
    }
/// Push a scope onto the stack. You can then build code in this
/// scope and call `pop_scope` afterwards. Note that these two
/// calls must be paired; using `in_scope` as a convenience
/// wrapper maybe preferable.
Push a scope onto the stack. You can then build code in this
scope and call `pop_scope` afterwards. Note that these two
calls must be paired; using `in_scope` as a convenience
wrapper maybe preferable.
Push a scope onto the stack . You can then build code in this scope and call ` pop_scope ` afterwards . Note that these two calls must be paired ; using ` in_scope ` as a convenience wrapper maybe preferable .
pub fn push_scope(&mut self, extent: CodeExtent, entry: BasicBlock) {
        debug!("push_scope({:?})", extent);
        let id = ScopeId::new(self.scope_auxiliary.len());
        let vis_scope = self.visibility_scope;
        self.scopes.push(Scope {
            id: id,
            visibility_scope: vis_scope,
            extent: extent,
            drops: vec![],
            free: None,
            cached_exits: FnvHashMap()
        });
        self.scope_auxiliary.push(ScopeAuxiliary {
            extent: extent,
            dom: self.cfg.current_location(entry),
            postdoms: vec![]
        });
    }
pub fn push_scope ( & mut self , extent : CodeExtent , entry : BasicBlock ) { debug ! ( " " extent ) ; let id = ScopeId :: new ( self . scope_auxiliary . len ( ) ) ; let vis_scope = self . visibility_scope ; self . scopes . push ( Scope { id : id , visibility_scope : vis_scope , extent : extent , drops : vec ! [ ] , free : None , cached_exits : FnvHashMap ( ) } ) ; self . scope_auxiliary . push ( ScopeAuxiliary { extent : extent , dom : self . cfg . current_location ( entry ) , postdoms : vec ! [ ] } ) ; }
Push a scope onto the stack.
Push a scope onto the stack .
&mut self
extent
CodeExtent
entry
BasicBlock
&mut self
extent
CodeExtent
entry
BasicBlock