rtda

package
v0.0.0-...-26bd4cb Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

func (*Frame) LocalVars

func (this *Frame) LocalVars() *LocalVars

func (*Frame) Lower

func (this *Frame) Lower() *Frame

func (*Frame) Method

func (this *Frame) Method() *heap.Method

func (*Frame) NextPC

func (this *Frame) NextPC() int

func (*Frame) OperandStack

func (this *Frame) OperandStack() *OperandStack

func (*Frame) RevertNextPC

func (this *Frame) RevertNextPC()

func (*Frame) SetNextPC

func (this *Frame) SetNextPC(nextPc int)

func (*Frame) Thread

func (this *Frame) Thread() *Thread

type LocalVars

type LocalVars []Slot

func NewLocalVars

func NewLocalVars(maxLocals uint) LocalVars

func (LocalVars) GetArrayObject

func (this LocalVars) GetArrayObject(index uint) *heap.ArrayObject

func (LocalVars) GetDouble

func (this LocalVars) GetDouble(index uint) float64

func (LocalVars) GetFloat

func (this LocalVars) GetFloat(index uint) float32

func (LocalVars) GetInt

func (this LocalVars) GetInt(index uint) int32

func (LocalVars) GetLong

func (this LocalVars) GetLong(index uint) int64

func (LocalVars) GetNormalObject

func (this LocalVars) GetNormalObject(index uint) *heap.NormalObject

func (LocalVars) GetRef

func (this LocalVars) GetRef(index uint) heap.Object

func (LocalVars) GetThis

func (this LocalVars) GetThis() heap.Object

func (LocalVars) SetDouble

func (this LocalVars) SetDouble(index uint, val float64)

func (LocalVars) SetFloat

func (this LocalVars) SetFloat(index uint, val float32)

func (LocalVars) SetInt

func (this LocalVars) SetInt(index uint, val int32)

func (LocalVars) SetLong

func (this LocalVars) SetLong(index uint, val int64)

func (LocalVars) SetRef

func (this LocalVars) SetRef(index uint, ref heap.Object)

func (LocalVars) SetSlot

func (this LocalVars) SetSlot(index uint, slot Slot)

type OperandStack

type OperandStack struct {
	// contains filtered or unexported fields
}

func NewOperandStack

func NewOperandStack(maxStack uint) *OperandStack

func (*OperandStack) Clear

func (this *OperandStack) Clear()

func (*OperandStack) GetRefFromTop

func (this *OperandStack) GetRefFromTop(count uint) heap.Object

func (*OperandStack) PopDouble

func (this *OperandStack) PopDouble() float64

func (*OperandStack) PopFloat

func (this *OperandStack) PopFloat() float32

func (*OperandStack) PopInt

func (this *OperandStack) PopInt() int32

func (*OperandStack) PopLong

func (this *OperandStack) PopLong() int64

func (*OperandStack) PopNormalObject

func (this *OperandStack) PopNormalObject() *heap.NormalObject

func (*OperandStack) PopRef

func (this *OperandStack) PopRef() heap.Object

func (*OperandStack) PopSlot

func (this *OperandStack) PopSlot() Slot

func (*OperandStack) PushDouble

func (this *OperandStack) PushDouble(val float64)

func (*OperandStack) PushFloat

func (this *OperandStack) PushFloat(val float32)

func (*OperandStack) PushInt

func (this *OperandStack) PushInt(val int32)

func (*OperandStack) PushLong

func (this *OperandStack) PushLong(val int64)

func (*OperandStack) PushRef

func (this *OperandStack) PushRef(ref heap.Object)

func (*OperandStack) PushSlot

func (this *OperandStack) PushSlot(slot Slot)

type Slot

type Slot struct {
	// contains filtered or unexported fields
}

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func NewStack

func NewStack(maxSize uint) *Stack

type Thread

type Thread struct {
	// contains filtered or unexported fields
}

func NewThread

func NewThread() *Thread

func (*Thread) CurrentFrame

func (this *Thread) CurrentFrame() *Frame

func (*Thread) IsStackEmpty

func (this *Thread) IsStackEmpty() bool

func (*Thread) NewFrame

func (this *Thread) NewFrame(method *heap.Method) *Frame

func (*Thread) PC

func (this *Thread) PC() int

func (*Thread) PopFrame

func (this *Thread) PopFrame() *Frame

func (*Thread) PushFrame

func (this *Thread) PushFrame(frame *Frame)

func (*Thread) SetPC

func (this *Thread) SetPC(newPc int)

func (*Thread) StackSize

func (this *Thread) StackSize() uint

func (*Thread) TopFrame

func (this *Thread) TopFrame() *Frame

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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