- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnsafePointRestart1 (0.38 sec)
-
src/cmd/internal/obj/plist.go
break // Reached the end, don't bother marking the end } p = ctxt.EndUnsafePoint(p, newprog, prevPcdata) p.Pc = p.Link.Pc continue } if isRestartable(p) { val := int64(abi.UnsafePointRestart1) if val == prevRestart { val = abi.UnsafePointRestart2 } prevRestart = val q := Appendp(prev, newprog) q.As = APCDATA q.From.Type = TYPE_CONST
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 11.5K bytes - Viewed (0) -
src/runtime/preempt.go
// reflect.{makeFuncStub,methodValueCall}. // // TODO(austin): We should improve this, or opt things // in incrementally. return false, 0 } switch up { case abi.UnsafePointRestart1, abi.UnsafePointRestart2: // Restartable instruction sequence. Back off PC to // the start PC. if startpc == 0 || startpc > pc || pc-startpc > 20 { throw("bad restart PC") } return true, startpc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/export_test.go
fi := findfunc(pc) v := pcdatavalue(fi, abi.PCDATA_UnsafePoint, pc) switch v { case abi.UnsafePointUnsafe: return true case abi.UnsafePointSafe: return false case abi.UnsafePointRestart1, abi.UnsafePointRestart2, abi.UnsafePointRestartAtEntry: // These are all interruptible, they just encode a nonstandard // way of recovering when interrupted. return false default: var buf [20]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0)