byucc.jhdl.synth.classparse
Interface VirtualMachine

All Known Implementing Classes:
GraphStack

public interface VirtualMachine


Method Summary
 void execute(MethodInfo method)
           
 MethodInfo getCurrentMethod()
           
 java.lang.Object getLocalVariable(int pc, int i)
           
 void jumpAbsolute(int pc)
           
 BasicBlock newBasicBlock(AttributeCode parent, int number)
           
 java.lang.Object pop()
           
 java.lang.Object push(java.lang.Object o)
           
 void setLocalVariable(java.lang.Object o, int i)
           
 

Method Detail

push

public java.lang.Object push(java.lang.Object o)

pop

public java.lang.Object pop()

getLocalVariable

public java.lang.Object getLocalVariable(int pc,
                                         int i)

setLocalVariable

public void setLocalVariable(java.lang.Object o,
                             int i)

execute

public void execute(MethodInfo method)

jumpAbsolute

public void jumpAbsolute(int pc)

newBasicBlock

public BasicBlock newBasicBlock(AttributeCode parent,
                                int number)

getCurrentMethod

public MethodInfo getCurrentMethod()


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.