Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for memclrNoHeapPointers (0.78 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    // Turn known-size calls to memclrNoHeapPointers into a Zero.
    // Note that we are using types.Types[types.TUINT8] instead of sptr.Type.Elem() - see issue 55122 and CL 431496 for more details.
    (SelectN [0] call:(StaticCall {sym} sptr (Const(64|32) [c]) mem))
      && isInlinableMemclr(config, int64(c))
      && isSameCall(sym, "runtime.memclrNoHeapPointers")
      && call.Uses == 1
      && clobber(call)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    		// caller's LR
    		*(*uintptr)(unsafe.Pointer(sp)) = 0
    		prepGoExitFrame(sp)
    	}
    	if GOARCH == "arm64" {
    		// caller's FP
    		*(*uintptr)(unsafe.Pointer(sp - goarch.PtrSize)) = 0
    	}
    
    	memclrNoHeapPointers(unsafe.Pointer(&newg.sched), unsafe.Sizeof(newg.sched))
    	newg.sched.sp = sp
    	newg.stktopsp = sp
    	newg.sched.pc = abi.FuncPCABI0(goexit) + sys.PCQuantum // +PCQuantum so that previous instruction is in same function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top