Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetHasDefer (0.13 sec)

  1. src/cmd/compile/internal/ir/func.go

    func (f *Func) SetIsHiddenClosure(b bool)          { f.flags.set(funcIsHiddenClosure, b) }
    func (f *Func) SetIsDeadcodeClosure(b bool)        { f.flags.set(funcIsDeadcodeClosure, b) }
    func (f *Func) SetHasDefer(b bool)                 { f.flags.set(funcHasDefer, b) }
    func (f *Func) SetNilCheckDisabled(b bool)         { f.flags.set(funcNilCheckDisabled, b) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    			// body that might add defers to this frame, so we cannot use open-coded defers
    			// and we need to call deferreturn even if we don't see any other explicit defers.
    			ir.CurFunc.SetHasDefer(true)
    			ir.CurFunc.SetOpenCodedDeferDisallowed(true)
    		}
    	}
    
    	walkCall1(n, init)
    	return n
    }
    
    func walkCall1(n *ir.CallExpr, init *ir.Nodes) {
    	if n.Walked() {
    		return // already walked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top