public class BinaryDoubleExpressionHelper extends BinaryLongExpressionHelper
stdCompareCodes
Constructor and Description |
---|
BinaryDoubleExpressionHelper(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
protected MethodCaller |
getArrayGetCaller() |
protected MethodCaller |
getArraySetCaller() |
protected int |
getBitwiseOperationBytecode(int op) |
protected int |
getCompareCode() |
protected ClassNode |
getDevisionOpResultType() |
protected ClassNode |
getNormalOpResultType() |
protected int |
getShiftOperationBytecode(int type) |
protected int |
getStandardOperationBytecode(int type) |
protected boolean |
supportsDivision() |
protected boolean |
writeBitwiseOp(int op,
boolean simulate)
writes some the bitwise operations. type is one of BITWISE_OR,
BITWISE_AND, BIWISE_XOR
|
protected void |
writeMinusMinus(org.objectweb.asm.MethodVisitor mv) |
protected void |
writePlusPlus(org.objectweb.asm.MethodVisitor mv) |
protected boolean |
writeShiftOp(int type,
boolean simulate)
Write shifting operations.
|
doubleTwoOperands, removeTwoOperands
arrayGet, arraySet, getArrayGetResultType, write, writeDivision, writePostOrPrefixMethod, writeSpaceship, writeStdCompare, writeStdOperators
public BinaryDoubleExpressionHelper(WriterController controller)
protected MethodCaller getArrayGetCaller()
getArrayGetCaller
in class BinaryLongExpressionHelper
protected MethodCaller getArraySetCaller()
getArraySetCaller
in class BinaryLongExpressionHelper
protected boolean writeBitwiseOp(int op, boolean simulate)
BinaryExpressionWriter
writeBitwiseOp
in class BinaryExpressionWriter
op
- the token typeprotected int getBitwiseOperationBytecode(int op)
getBitwiseOperationBytecode
in class BinaryLongExpressionHelper
protected int getCompareCode()
getCompareCode
in class BinaryLongExpressionHelper
protected ClassNode getNormalOpResultType()
getNormalOpResultType
in class BinaryLongExpressionHelper
protected boolean writeShiftOp(int type, boolean simulate)
BinaryExpressionWriter
writeShiftOp
in class BinaryExpressionWriter
type
- the token typeprotected int getShiftOperationBytecode(int type)
getShiftOperationBytecode
in class BinaryLongExpressionHelper
protected int getStandardOperationBytecode(int type)
getStandardOperationBytecode
in class BinaryLongExpressionHelper
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
writeMinusMinus
in class BinaryLongExpressionHelper
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
writePlusPlus
in class BinaryLongExpressionHelper
protected ClassNode getDevisionOpResultType()
getDevisionOpResultType
in class BinaryLongExpressionHelper
protected boolean supportsDivision()
supportsDivision
in class BinaryExpressionWriter