Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckFuncStack (0.11 sec)

  1. src/cmd/compile/internal/typecheck/dcl.go

    }
    
    // FinishFuncBody restores ir.CurFunc to its state before the last
    // call to DeclFunc.
    func FinishFuncBody() {
    	funcStack, ir.CurFunc = funcStack[:len(funcStack)-1], funcStack[len(funcStack)-1]
    }
    
    func CheckFuncStack() {
    	if len(funcStack) != 0 {
    		base.Fatalf("funcStack is non-empty: %v", len(funcStack))
    	}
    }
    
    // make a new Node off the books.
    func TempAt(pos src.XPos, curfn *ir.Func, typ *types.Type) *ir.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top