Class AbstractBytecodeCompiler

java.lang.Object
gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
Direct Known Subclasses:
IRArithmeticExpressionCompiler, IRArrayLengthExpressionCompiler, IRArrayLoadExpressionCompiler, IRArrayStoreStatementCompiler, IRAssignmentStatementCompiler, IRBooleanLiteralCompiler, IRBreakStatementCompiler, IRCastExpressionCompiler, IRCharacterLiteralCompiler, IRClassCompiler, IRCompositeExpressionCompiler, IRConditionalAndExpressionCompiler, IRConditionalOrExpressionCompiler, IRContinueStatementCompiler, IRDoWhileStatementCompiler, IREqualityExpressionCompiler, IREvalStatementCompiler, IRFieldGetExpressionCompiler, IRFieldSetStatementCompiler, IRForEachStatementCompiler, IRIdentifierCompiler, IRIfStatementCompiler, IRInstanceOfExpressionCompiler, IRLazyTypeMethodCallExpressionCompiler, IRMethodCallExpressionCompiler, IRMethodCallStatementCompiler, IRMonitorLockAcquireCompiler, IRMonitorLockReleaseCompiler, IRNegationExpressionCompiler, IRNewArrayExpressionCompiler, IRNewExpressionCompiler, IRNewMultiDimensionalArrayExpressionCompiler, IRNewStatementCompiler, IRNotExpressionCompiler, IRNullLiteralCompiler, IRNumericLiteralCompiler, IRPrimitiveTypeConversionCompiler, IRRelationalExpressionCompiler, IRReturnStatementCompiler, IRStatementListCompiler, IRStringLiteralExpressionCompiler, IRSwitchStatementCompiler, IRSyntheticStatementCompiler, IRTernaryExpressionCompiler, IRThrowStatementCompiler, IRTryCatchFinallyStatementCompiler, IRWhileStatementCompiler

public class AbstractBytecodeCompiler extends Object
  • Field Details

    • OBJECT_TYPE

      public static final org.objectweb.asm.Type OBJECT_TYPE
  • Constructor Details

    • AbstractBytecodeCompiler

      public AbstractBytecodeCompiler()
  • Method Details

    • getIns

      public static int getIns(int opcode, IRType type)
    • isWide

      public static boolean isWide(IRType type)
    • compileConditionAssignment

      public static void compileConditionAssignment(IRExpression expression, org.objectweb.asm.MethodVisitor mv)
    • isNotPartOfBooleanExpr

      public static boolean isNotPartOfBooleanExpr(IRExpression expression)
    • negateOpcode

      protected static int negateOpcode(int op)