Class IRPrimitiveTypeConversionCompiler
- java.lang.Object
-
- gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
-
- gw.internal.gosu.ir.compiler.bytecode.expression.IRPrimitiveTypeConversionCompiler
-
public class IRPrimitiveTypeConversionCompiler extends AbstractBytecodeCompiler
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
OBJECT_TYPE
-
-
Constructor Summary
Constructors Constructor Description IRPrimitiveTypeConversionCompiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcompile(IRPrimitiveTypeConversion conversion, IRBytecodeContext context)private static booleanisIntType(IRType type)private static voidmaybeConvertIntToByteCharShort(org.objectweb.asm.MethodVisitor mv, IRType to)-
Methods inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
compileConditionAssignment, getIns, isNotPartOfBooleanExpr, isWide, negateOpcode
-
-
-
-
Method Detail
-
compile
public static void compile(IRPrimitiveTypeConversion conversion, IRBytecodeContext context)
-
maybeConvertIntToByteCharShort
private static void maybeConvertIntToByteCharShort(org.objectweb.asm.MethodVisitor mv, IRType to)
-
isIntType
private static boolean isIntType(IRType type)
-
-