org.siebengeisslein.pclass
Class NumericOpCodeGenerator
java.lang.Object
org.siebengeisslein.pclass.NumericOpCodeGenerator
- All Implemented Interfaces:
- BinaryOpCodeGenerator
public class NumericOpCodeGenerator
- extends java.lang.Object
- implements BinaryOpCodeGenerator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumericOpCodeGenerator
public NumericOpCodeGenerator(int opcode,
int branchOpcode,
PType operand1,
PType operand2)
visit
public void visit(org.objectweb.asm.MethodVisitor mv,
Frame frame,
Expression operand1,
Expression operand2,
PClass clazz)
- Specified by:
visit in interface BinaryOpCodeGenerator
getResultType
public PType getResultType(TypeManager manager)
- Specified by:
getResultType in interface BinaryOpCodeGenerator
visitBranch
public void visitBranch(org.objectweb.asm.MethodVisitor mv,
Frame frame,
Expression operand1,
Expression operand2,
PClass clazz,
org.objectweb.asm.Label label)
- Specified by:
visitBranch in interface BinaryOpCodeGenerator