...

Package escape

import "cmd/compile/internal/escape"
Overview
Index

Overview ▾

func Batch

func Batch(fns []*ir.Func, recursive bool)

Batch performs escape analysis on a minimal batch of functions.

func Fmt

func Fmt(n ir.Node) string

Fmt is called from node printing to print information about escape analysis results.

func Funcs

func Funcs(all []*ir.Func)

func HeapAllocReason

func HeapAllocReason(n ir.Node) string

HeapAllocReason returns the reason the given Node must be heap allocated, or the empty string if it doesn't.