Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Cursor ¶
type Cursor struct {
Func *ssa.Function
Block *ssa.BasicBlock
Instr ssa.Instruction
InstrIndex int
}
Cursor holds the current function, block and instruction in iteration by All.
func (*Cursor) FirstBlock ¶ added in v0.2.0
FirstBlock returns whether cur.Block is a first block in the function.
func (*Cursor) FirstInstr ¶
FirstInstr returns whether cur.Instruction is a first instruction in the block.
Click to show internal directories.
Click to hide internal directories.
