- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ABISetOf (0.08 sec)
-
src/cmd/compile/internal/ssagen/abi.go
if len(cgoExport) > 0 && fn.ABIRefs&^obj.ABISetOf(fn.ABI) != 0 { base.Fatalf("cgo exported function %v cannot have ABI wrappers", fn) } if !buildcfg.Experiment.RegabiWrappers { continue } forEachWrapperABI(fn, makeABIWrapper) } } func forEachWrapperABI(fn *ir.Func, cb func(fn *ir.Func, wrapperABI obj.ABI)) { need := fn.ABIRefs &^ obj.ABISetOf(fn.ABI) if need == 0 { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
// potentially be called using. ABISetCallable ABISet = (1 << ABI0) | (1 << ABIInternal) ) // Ensure ABISet is big enough to hold all ABIs. var _ ABISet = 1 << (ABICount - 1) func ABISetOf(abi ABI) ABISet { return 1 << abi } func (a *ABISet) Set(abi ABI, value bool) { if value { *a |= 1 << abi } else { *a &^= 1 << abi } } func (a *ABISet) Get(abi ABI) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0)