Documentation
¶
Index ¶
Constants ¶
View Source
const ( Nop = iota PushConst PopConst IAdd // Integer add ISub // Integer sub IMul // Integer mul IDiv // Integer div Halt )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bytecode ¶
type Bytecode struct {
// contains filtered or unexported fields
}
func NewBytecode ¶
func NewBytecode() *Bytecode
func (*Bytecode) AddIntegerConst ¶
func (*Bytecode) GetConst ¶
func (b *Bytecode) GetConst(slot int) ConstValue
type ConstInteger ¶
type ConstInteger struct {
Value uint64
}
type ConstValue ¶
type ConstValue interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.