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.19.12
Published
Jul 26, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
5 minutes ago

Tools for package owners.