Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for makeFuncStub (0.17 sec)

  1. src/reflect/asm_loong64.s

    // 32 (args of callReflect) + 8 (bool + padding) + 392 (abi.RegArgs) = 432.
    
    // makeFuncStub is the code half of the function returned by MakeFunc.
    // See the comment on the declaration of makeFuncStub in makefunc.go
    // for more details.
    // No arg size here, runtime pulls arg map out of the func value.
    TEXT ยทmakeFuncStub(SB),(NOSPLIT|WRAPPER),$432
    	NO_LOCAL_POINTERS
    	ADDV	$LOCAL_REGARGS, R3, R25 // spillArgs using R25
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/reflect/makefunc.go

    	return Value{t, unsafe.Pointer(impl), flag(Func)}
    }
    
    // makeFuncStub is an assembly function that is the code half of
    // the function returned from MakeFunc. It expects a *callReflectFunc
    // as its context register, and its job is to invoke callReflect(ctxt, frame)
    // where ctxt is the context register and frame is a pointer to the first
    // word in the passed-in argument frame.
    func makeFuncStub()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/runtime/stkframe.go

    	if f.args != abi.ArgsSizeUnknown {
    		argMap.n = f.args / goarch.PtrSize
    		return
    	}
    	// Extract argument bitmaps for reflect stubs from the calls they made to reflect.
    	switch funcname(f) {
    	case "reflect.makeFuncStub", "reflect.methodValueCall":
    		// These take a *reflect.methodValue as their
    		// context register and immediately save it to 0(SP).
    		// Get the methodValue from 0(SP).
    		arg0 := frame.sp + sys.MinFrameSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    		// include: various points in the scheduler ("don't
    		// preempt between here and here"), much of the defer
    		// implementation (untyped info on stack), bulk write
    		// barriers (write barrier check),
    		// reflect.{makeFuncStub,methodValueCall}.
    		//
    		// TODO(austin): We should improve this, or opt things
    		// in incrementally.
    		return false, 0
    	}
    	switch up {
    	case abi.UnsafePointRestart1, abi.UnsafePointRestart2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/reflect/abi.go

    	// passed to reflectcall.
    	stackPtrs *bitVector
    
    	// inRegPtrs is a bitmap whose i'th bit indicates
    	// whether the i'th integer argument register contains
    	// a pointer. Used by makeFuncStub and methodValueCall
    	// to make result pointers visible to the GC.
    	//
    	// outRegPtrs is the same, but for result values.
    	// Used by reflectcall to make result pointers visible
    	// to the GC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    		// in runtime/mwbbuf.go:wbBufFlush.
    		//
    		// reflect.callReflect and reflect.callMethod are called from special
    		// functions makeFuncStub and methodValueCall. The runtime expects
    		// that it can find the first argument (ctxt) at 0(SP) in makeFuncStub
    		// and methodValueCall's frame (see runtime/traceback.go:getArgInfo).
    		// Normally callReflect and callMethod already do not modify the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/reflect/value.go

    	if callGC {
    		// Call GC upon entry during testing.
    		// Getting our stack scanned here is the biggest hazard, because
    		// our caller (makeFuncStub) could have failed to place the last
    		// pointer to a value in regs' pointer space, in which case it
    		// won't be visible to the GC.
    		runtime.GC()
    	}
    	ftyp := ctxt.ftyp
    	f := ctxt.fn
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top