opts

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxInlineDepth  = parseOrDefault("FRUGAL_MAX_INLINE_DEPTH", _DefaultMaxInlineDepth, 1)
	MaxInlineILSize = parseOrDefault("FRUGAL_MAX_INLINE_IL_SIZE", _DefaultMaxInlineILSize, 256)

	NoJIT, _ = strconv.ParseBool(os.Getenv("FRUGAL_NO_JIT"))
)

Functions

This section is empty.

Types

type Options

type Options struct {
	MaxInlineDepth   int
	MaxInlineILSize  int
	MaxPretouchDepth int

	NoJIT bool
}

func GetDefaultOptions

func GetDefaultOptions() Options

func (*Options) CanInline

func (self *Options) CanInline(sp int, pc int) bool

func (*Options) CanPretouch

func (self *Options) CanPretouch(d int) bool

Jump to

Keyboard shortcuts

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