de.cau.cs.kieler.krep.compiler.klp
Class BinOpInstruction

java.lang.Object
  extended by de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
      extended by de.cau.cs.kieler.krep.compiler.klp.BinOpInstruction

public class BinOpInstruction
extends AbstractInstruction

Binary operation.

Rating yellow
(2010-02-05) review by cmot, msp, tam

Constructor Summary
BinOpInstruction(Variable toVar, RegAccess read1, RegAccess read2, Operator operator)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
getComment, setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinOpInstruction

public BinOpInstruction(Variable toVar,
                        RegAccess read1,
                        RegAccess read2,
                        Operator operator)
Parameters:
toVar - variable that stores the result
read1 - first parameter
read2 - second parameter
operator - operator
Method Detail

toString

public String toString()
Specified by:
toString in class AbstractInstruction