Documentation

Index

Constants

View Source
const (
	// The init routine can be executed.  It may cause NoFunction traps.
	//
	// The event handler is a good place to resolve the entry function address,
	// because the compiler doesn't mutate the ObjectMapper during event
	// handler invocation.  CodeConfig.LastInitFunc must be greater or equal to
	// the entry function index - otherwise its address is not available during
	// Init event handling.
	//
	// This event is not necessarily delivered.
	Init = Event(iota)

	// All functions have been generated, but links to them haven't yet been
	// updated in previous functions.
	//
	// If required by ISA, code cache should be invalidated before the event
	// handler returns.
	//
	// This event is not necessarily delivered.
	FunctionBarrier
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event int

    Event handler is invoked from a single goroutine (per compilation).

    func (Event) String

    func (e Event) String() string

    Source Files