Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnySideEffects ¶
AnySideEffects reports whether n contains any operations that could have observable side effects.
Types ¶
type Schedule ¶
type Schedule struct { // Out is the ordered list of dynamic initialization // statements. Out []ir.Node Plans map[ir.Node]*Plan Temps map[ir.Node]*ir.Name }
An Schedule is used to decompose assignment statements into static and dynamic initialization parts. Static initializations are handled by populating variables' linker symbol data, while dynamic initializations are accumulated to be executed in order.
func (*Schedule) StaticAssign ¶
func (*Schedule) StaticInit ¶
StaticInit adds an initialization statement n to the schedule.
Click to show internal directories.
Click to hide internal directories.