codegen

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2022 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxFuncLocals     = 8190  // Largest value supported by arm64 backend's stack check.
	MaxBranchTableLen = 65520 // Industry standard.
)

Variables

View Source
var UnsupportedOpBreakpoint bool

If true, known but unsupported ops will be replaced with breakpoints.

Functions

func GenProgram

func GenProgram(
	text code.Buffer,
	objMap obj.ObjectMapper,
	load *loader.L,
	m *module.M,
	lib *module.Library,
	eventHandler func(event.Event),
	initFuncCount int,
	breakpoints map[uint32]gen.Breakpoint,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL