Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deferwrap1 (0.1 sec)

  1. test/newinline.go

    	_ = f(3)
    }
    
    // Issue #42194 - make sure that functions evaluated in
    // go and defer statements can be inlined.
    func gd1(int) {
    	defer gd1(gd2()) // ERROR "inlining call to gd2" "can inline gd1.deferwrap1"
    	defer gd3()()    // ERROR "inlining call to gd3"
    	go gd1(gd2())    // ERROR "inlining call to gd2" "can inline gd1.gowrap2"
    	go gd3()()       // ERROR "inlining call to gd3"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/func.go

    	case OCLOSURE:
    		if outerfn == nil || outerfn.OClosure == nil {
    			suffix = ".func"
    		}
    	case ORANGE:
    		suffix = "-range"
    	case OGO:
    		suffix = ".gowrap"
    	case ODEFER:
    		suffix = ".deferwrap"
    	}
    	gen := &globClosgen
    
    	// There may be multiple functions named "_". In those
    	// cases, we can't use their individual Closgens as it
    	// would lead to name clashes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top