Class IRNewArrayExpressionCompiler
- java.lang.Object
-
- gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
-
- gw.internal.gosu.ir.compiler.bytecode.expression.IRNewArrayExpressionCompiler
-
public class IRNewArrayExpressionCompiler extends AbstractBytecodeCompiler
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
OBJECT_TYPE
-
-
Constructor Summary
Constructors Constructor Description IRNewArrayExpressionCompiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
compile(IRNewArrayExpression expression, IRBytecodeContext context)
static void
createArrayInstruction(IRType expressionType, gw.internal.ext.org.objectweb.asm.MethodVisitor mv)
static int
getPrimitiveTypeForNewArray(IRType atomicType)
-
Methods inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
compileConditionAssignment, getIns, isNotPartOfBooleanExpr, isWide, negateOpcode
-
-
-
-
Method Detail
-
compile
public static void compile(IRNewArrayExpression expression, IRBytecodeContext context)
-
createArrayInstruction
public static void createArrayInstruction(IRType expressionType, gw.internal.ext.org.objectweb.asm.MethodVisitor mv)
-
getPrimitiveTypeForNewArray
public static int getPrimitiveTypeForNewArray(IRType atomicType)
-
-