dspl.intermediate.instructions
Class PartialBranchInstruction

java.lang.Object
  extended by dspl.intermediate.instructions.Instruction
      extended by dspl.intermediate.instructions.BranchInstruction
          extended by dspl.intermediate.instructions.PartialBranchInstruction

public class PartialBranchInstruction
extends BranchInstruction

The Treewalker must first gather the instruction and its arguments when walking the tree, afterward, the walker can attach the conditional list of arguments

Author:
Jeffrey Cropsey

Field Summary
 
Fields inherited from class dspl.intermediate.instructions.BranchInstruction
comp, elseInst, ifInst
 
Fields inherited from class dspl.intermediate.instructions.Instruction
INST_TYPE_ARITHMATIC, INST_TYPE_BRANCH, INST_TYPE_CCALL, INST_TYPE_FORLOOP, lastInstruction, nextInstruction, prevInstruction
 
Constructor Summary
PartialBranchInstruction(Comparison comp)
           
 
Method Summary
 BranchInstruction fullFromPartial(Instruction ifInst, Instruction elseInst)
           
 
Methods inherited from class dspl.intermediate.instructions.BranchInstruction
getInstType, usesVariable
 
Methods inherited from class dspl.intermediate.instructions.Instruction
setNextInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialBranchInstruction

public PartialBranchInstruction(Comparison comp)
Method Detail

fullFromPartial

public BranchInstruction fullFromPartial(Instruction ifInst,
                                         Instruction elseInst)