package typebits

import "cmd/compile/internal/typebits"

Index

Functions

func Set

func Set(t *types.Type, off int64, bv bitvec.BitVec)

NOTE: The bitmap for a specific type t could be cached in t after the first run and then simply copied into bv at the correct offset on future calls with the same type t.

func SetNoCheck

func SetNoCheck(t *types.Type, off int64, bv bitvec.BitVec)

SetNoCheck is like Set, but do not check for alignment.

Source Files

typebits.go

Version
v1.20.13
Published
Jan 4, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
42 seconds ago

Tools for package owners.