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.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
8 minutes ago

Tools for package owners.