wag: github.com/tsavola/wag/internal/gen/codegen Index | Files

package codegen

import "github.com/tsavola/wag/internal/gen/codegen"

Index

Package Files

branch.go breakpoint.go call.go function.go gen.go global.go local.go opcodes.go opimpl.go program.go skip.go x86.go

Constants

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

func GenProgram Uses

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,
)

Package codegen imports 27 packages (graph) and is imported by 1 packages. Updated 2020-10-08. Refresh now. Tools for package owners.