Documentation ¶
Index ¶
Constants ¶
View Source
const ( VectorOffsetTrapHandler = -2 * obj.Word VectorOffsetGrowMemoryLimit = -1 * obj.Word )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchTable ¶ added in v0.4.0
type BranchTable struct { Addr int32 Targets []*BranchTarget StackDepth int // -1 indicates common depth among all targets }
type BranchTarget ¶ added in v0.4.0
type Func ¶ added in v0.4.0
type Func struct { Prog // initialized by GenProgram, preserved by GenFunction Regs regalloc.Allocator ResultType wa.Type LocalTypes []wa.Type NumParams int NumLocals int // The non-param ones Operands []operand.O FrameBase int // Number of (stack) operands belonging on to parent blocks NumStableOperands int StackDepth int // The dynamic entries after locals MaxStackDepth int BranchTargets []*BranchTarget BranchTables []BranchTable }
func (*Func) LocalOffset ¶ added in v0.5.0
func (*Func) MapCallAddr ¶ added in v0.4.0
func (*Func) StackValueConsumed ¶ added in v0.5.0
func (f *Func) StackValueConsumed()
StackValueConsumed updates the virtual stack pointer on behalf of MacroAssembler when it changes the physical stack pointer.
func (*Func) ValueBecameUnreachable ¶ added in v0.5.0
ValueBecameUnreachable keeps the state consistent when an operand will not be operated on (because it was popped on an unreachable code path).
Click to show internal directories.
Click to hide internal directories.