MCPcopy Index your code
hub / github.com/dispatchrun/coroutine / Shadowing

Function Shadowing

compiler/testdata/coroutine_durable.go:403–743  ·  view source on GitHub ↗

go:noinline

(_ int)

Source from the content-addressed store, hash-verified

401
402//go:noinline
403func Shadowing(_ int) {
404 _c := coroutine.LoadContext[int, any]()
405 var _f0 *struct {
406 IP int
407 X0 int
408 X1 int
409 X2 int
410 X3 int
411 X4 int
412 X5 bool
413 X6 int
414 X7 int
415 X8 int
416 X9 int
417 X10 int
418 X11 int
419 X12 int
420 X13 uintptr
421 X14 int
422 X15 uintptr
423 X16 int
424 X17 uintptr
425 X18 int
426 X19 uintptr
427 X20 int
428 X21 uintptr
429 X22 int
430 } = coroutine.Push[struct {
431 IP int
432 X0 int
433 X1 int
434 X2 int
435 X3 int
436 X4 int
437 X5 bool
438 X6 int
439 X7 int
440 X8 int
441 X9 int
442 X10 int
443 X11 int
444 X12 int
445 X13 uintptr
446 X14 int
447 X15 uintptr
448 X16 int
449 X17 uintptr
450 X18 int
451 X19 uintptr
452 X20 int
453 X21 uintptr
454 X22 int
455 }](&_c.Stack)
456
457 const _o0 = 11
458
459 const _o1 = 12
460

Callers

nothing calls this directly

Calls 5

LoadContextFunction · 0.92
PopFunction · 0.92
_o3TypeAlias · 0.85
_o2TypeAlias · 0.85
UnwindingMethod · 0.80

Tested by

no test coverage detected